From a754019bd6e7f9a5269ce34592f45c12b101a478 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Wed, 8 May 2024 10:40:58 +0200 Subject: [PATCH] tox.ini: move mypy to main testenv 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 --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 7e18a2b..427b2ad 100644 --- a/tox.ini +++ b/tox.ini @@ -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}