Skip to content

Commit

Permalink
Normalize coverage and mypy reports
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed May 5, 2020
1 parent 87e64cf commit 7ff608c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ deps =
commands =
coverage run --source twine -m pytest {posargs:tests}
coverage report -m
coverage html

[testenv:docs]
deps =
Expand Down Expand Up @@ -51,7 +52,8 @@ deps =
mypy
lxml
commands =
mypy {posargs:--html-report mypy --txt-report mypy twine}
mypy --html-report mypy --txt-report mypy {posargs:twine}
python -c 'with open("mypy/index.txt") as f: print(f.read())'

[testenv:release]
# disabled for twine to cause it to upload itself
Expand Down

0 comments on commit 7ff608c

Please sign in to comment.