forked from alteryx/featuretools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (24 loc) · 736 Bytes
/
Makefile
File metadata and controls
29 lines (24 loc) · 736 Bytes
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
27
28
29
.PHONY: clean
clean:
find . -name '*.pyo' -delete
find . -name '*.pyc' -delete
find . -name __pycache__ -delete
find . -name '*~' -delete
.PHONY: lint
lint:
flake8 featuretools && isort --check-only --recursive featuretools
.PHONY: lint-fix
lint-fix:
autopep8 --in-place --recursive --max-line-length=100 --exclude="*/migrations/*" --select="E225,E303,E302,E203,E128,E231,E251,E271,E127,E126,E301,W291,W293,E226,E306,E221,E261,E111,E114" featuretools
isort --recursive featuretools
.PHONY: test
test: lint
pytest featuretools/
.PHONY: testcoverage
testcoverage: lint
pytest featuretools/ --cov=featuretools
.PHONY: installdeps
installdeps:
pip install --upgrade pip
pip install -e .
pip install -r dev-requirements.txt