Skip to content

Commit 05a073e

Browse files
committed
Use the correct mypy
1 parent 3d41f7b commit 05a073e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ deps =
2727

2828

2929
[testenv:py{3.9,3.10,3.11,3.12,3.13,3.14,3.15,3.16,3.17,3.18,3.19}-mypy]
30-
allowlist_externals = mypy
31-
commands = mypy {posargs:pytest_factoryboy}
30+
allowlist_externals = poetry
31+
commands_pre = poetry sync --no-root --only=dev
32+
commands = poetry run mypy {posargs:pytest_factoryboy}
3233

3334
[pytest]
3435
addopts = -vv -l

0 commit comments

Comments
 (0)