1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Exclude vendorized argparse lib from coverage report.

This commit is contained in:
William Ting 2016-05-03 23:24:29 -07:00
parent e75d4d4d11
commit 180c5d8402
2 changed files with 4 additions and 3 deletions

View File

@ -40,11 +40,11 @@ tar:
test: pre-commit test: pre-commit
@find . -type f -iname '*.py[co]' -delete @find . -type f -iname '*.py[co]' -delete
tox @tox
test-fast: pre-commit test-fast: pre-commit
@find . -type f -iname '*.py[co]' -delete @find . -type f -iname '*.py[co]' -delete
tox -e py27 @tox -e py27
clean: clean:
@find . -type f -iname '*.py[co]' -delete @find . -type f -iname '*.py[co]' -delete

View File

@ -18,7 +18,8 @@ deps =
ipython ipython
pytest pytest
commands = commands =
coverage run --source=bin/ -m py.test -rxs --tb native -s --strict {posargs:tests} coverage run --source=bin/ --omit=bin/autojump_argparse.py -m \
py.test -rxs --tb native -s --strict {posargs:tests}
coverage report -m coverage report -m