diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-29 15:21:57 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-29 15:21:57 -0700 |
commit | ae37c8e32f1289816b69cd5a502a6bc5fd862414 (patch) | |
tree | 8daad96a990c5a625e80587d9a2d6e0fdcc65e1b /python/Makefile | |
parent | e70f5bcaafe370da12cbfea4133b835f40614b44 (diff) | |
download | sandcrawler-ae37c8e32f1289816b69cd5a502a6bc5fd862414.tar.gz sandcrawler-ae37c8e32f1289816b69cd5a502a6bc5fd862414.zip |
improve test running and config
Diffstat (limited to 'python/Makefile')
-rw-r--r-- | python/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/Makefile b/python/Makefile index f783d0e..0a97437 100644 --- a/python/Makefile +++ b/python/Makefile @@ -17,6 +17,7 @@ lint: ## Run lints (eg, flake8, mypy) #pipenv run flake8 . --exit-zero pipenv run flake8 . --select=E9,F63,F7,F82 --exit-zero pipenv run mypy *.py sandcrawler/ tests/ --ignore-missing-imports + pipenv run pylint --rcfile=.pylintrc -E --jobs=4 sandcrawler tests *.py #pipenv run pytype sandcrawler/ .PHONY: fmt @@ -24,7 +25,9 @@ fmt: ## Run code formating on all source code pipenv run black *.py sandcrawler/ tests/ .PHONY: test -test: lint ## Run all tests and lints +test: ## Run all tests and lints + pipenv run flake8 . --select=E9,F63,F7,F82 --exit-zero + pipenv run mypy *.py sandcrawler/ tests/ --ignore-missing-imports pipenv run pytest .PHONY: coverage |