forked from capitalone/synthetic-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (20 loc) · 836 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
help:
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
clean: ## Deleted unwanted files and folders
echo "Cleaning make_tabular_data"
rm -rf build dist htmlcov *.egg-info
find . -name "*.png" -type f -delete
find . -name "*.coverage" -type f -delete
find . -name "*.csv" -type f -delete
find . -name "*.pkl" -type f -delete
find . -name "*.h5" -type f -delete
find . -name "output" -type d -delete
lint_local: ## Lints Python Directories Locally
flake8 --statistics --count --exit-zero
test_local: ## Runs unit tests with coverage and opens results in the browser
python3 -m pytest tests -s -v --cov synthetic_data --cov-report term-missing
examples_list: ## List all available examples
ls examples | egrep -v .py
pre_commit: ## Run pre-commit
pre-commit install
pre-commit run