Created
February 21, 2019 13:40
-
-
Save elena-roff/bf1f831f6d2e075b978429d5c13c12b9 to your computer and use it in GitHub Desktop.
Lint and tests+coverage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: test lint | |
lint: | |
TEST=1 pylint <folder> --rcfile=pylint.cfg | |
flake8 | |
test: | |
coverage run --rcfile=setup.cfg --source=<folder> -m pytest --ignore=<folder to ignore> | |
coverage report --rcfile=setup.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment