Skip to content

Commit

Permalink
tox.ini: move mypy to main testenv
Browse files Browse the repository at this point in the history
this works around a bug in tox.ini where it does not take into account
the dependencies of the package

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
  • Loading branch information
AndrewAmmerlaan committed May 8, 2024
1 parent dee2b2e commit a754019
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@ skip_missing_interpreters = True
isolated_build = True

[testenv]
deps =
mypy
extras =
test
commands =
pytest -vv {posargs:test}
mypy {posargs:ecleankernel test}

[testenv:qa]
basepython = python3
ignore_errors = True
skip_install = True
deps =
mypy
pycodestyle
pyflakes
commands =
mypy {posargs:ecleankernel test}
pyflakes {posargs:ecleankernel test}
pycodestyle {posargs:ecleankernel test}

Expand Down

0 comments on commit a754019

Please sign in to comment.