Skip to content

Commit

Permalink
Uncap coverage, remove test-requirements.txt
Browse files Browse the repository at this point in the history
We don't _need_ 'coverage' to run tests and we already install click as
part of our main dependencies. Remove the 'test-requirements.txt' file.

While we're at it, uncap coverage in 'tox.ini'. There's no need to use
an ancient version of this.

Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Apr 7, 2022
1 parent 825eb0f commit 340dadf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions test-requirements.txt

This file was deleted.

8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist = py{36,37,38,39}-click{7,8},style,docs

[testenv]
deps =
coverage>4.3,<5.0
coverage
click7: click>=7.0,<8.0
click8: click>=8.0,<9.0
commands =
Expand All @@ -24,10 +24,10 @@ deps =
commands =
flake8 {toxinidir}/sphinx_click/

[coverage:run]
branch = True

[testenv:docs]
commands =
pip install -e {toxinidir}/examples/
sphinx-build -W -b html -d docs/_build/doctrees docs docs/_build/html

[coverage:run]
branch = True

0 comments on commit 340dadf

Please sign in to comment.