Skip to content

Commit 933179a

Browse files
author
Nate Parsons
committed
update Makefile
1 parent 4e323d6 commit 933179a

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

Makefile

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1+
.PHONY: entry-point-test
12
entry-point-test:
23
cd ~ && python -c "from featuretools import autonormalize"
34

5+
.PHONY: lint-fix
46
lint-fix:
57
select="E225,E303,E302,E203,E128,E231,E251,E271,E127,E126,E301,W291,W293,E226,E306,E221"
68
autopep8 --in-place --recursive --max-line-length=100 --select=${select} autonormalize
79
isort --recursive autonormalize
810

9-
lint-tests:
11+
.PHONY: lint
12+
lint:
1013
flake8 autonormalize
1114
isort --check-only --recursive autonormalize
1215

13-
unit-tests:
14-
coverage erase
15-
pytest --cov=autonormalize --cache-clear --show-capture=stderr -vv
16+
.PHONY: test
17+
test: lint
18+
pytest autonormalize/
19+
20+
.PHONY: testcoverage
21+
testcoverage: lint
22+
pytest autonormalize/ --cov=autonormalize

0 commit comments

Comments
 (0)