Skip to content

Commit 95cbb78

Browse files
committed
Use mypy from dev-requirements when running it in tox
1 parent 075a0bb commit 95cbb78

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@ deps =
2424
commands = {env:_PYTEST_CMD:pytest} {env:_PYTEST_MORE_ARGS:} {posargs:-vvl}
2525

2626
[testenv:mypy]
27+
skip_install = true
28+
allowlist_externals = poetry
29+
commands_pre =
30+
poetry install --with=dev
2731
commands = mypy

0 commit comments

Comments
 (0)