Skip to content

Instantly share code, notes, and snippets.

@elena-roff
Created February 21, 2019 13:40
Show Gist options
  • Save elena-roff/bf1f831f6d2e075b978429d5c13c12b9 to your computer and use it in GitHub Desktop.
Save elena-roff/bf1f831f6d2e075b978429d5c13c12b9 to your computer and use it in GitHub Desktop.
Lint and tests+coverage
.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