Use mypy from dev-requirements when running it in tox

This commit is contained in:
Alessio Bogon 2023-07-23 13:43:24 +02:00
parent 075a0bbd19
commit 95cbb78038
1 changed files with 4 additions and 0 deletions

View File

@ -24,4 +24,8 @@ deps =
commands = {env:_PYTEST_CMD:pytest} {env:_PYTEST_MORE_ARGS:} {posargs:-vvl}
[testenv:mypy]
skip_install = true
allowlist_externals = poetry
commands_pre =
poetry install --with=dev
commands = mypy