From 0c5303d20b64f6e2bfce49dfe4192c2cc0ad67a1 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Tue, 23 Apr 2024 18:57:24 +0300 Subject: [PATCH] Ensure mypy runs in CI --- tox.ini | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index f62ce233..9d0399cb 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,9 @@ python = 3.11: py311 [testenv] -commands = ./runtests.py --nolint +commands = + ./runtests.py --nolint + mypy rest_framework_nested allowlist_externals = * setenv = PYTHONDONTWRITEBYTECODE=1 @@ -26,11 +28,6 @@ commands = ./runtests.py --lintonly deps = -rrequirements-tox.txt -[testenv:py311-mypy] -commands = mypy rest_framework_nested -deps = - -rrequirements-tox.txt - [testenv:py311-docs] commands = mkdocs build deps =