mirror of
https://github.com/romanz/amodem.git
synced 2026-04-18 20:25:59 +08:00
tox: omit __main__.py entry point from coverage
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -14,5 +14,5 @@ deps=
|
|||||||
commands=
|
commands=
|
||||||
pep8 sshagent
|
pep8 sshagent
|
||||||
pylint --report=no --rcfile .pylintrc sshagent
|
pylint --report=no --rcfile .pylintrc sshagent
|
||||||
coverage run --source sshagent/ -m py.test -v
|
coverage run --omit='*/__main__.py' --source sshagent/ -m py.test -v
|
||||||
coverage report
|
coverage report
|
||||||
|
|||||||
Reference in New Issue
Block a user