From d84e95d718df20e5ed577ee07af567ff1e355c60 Mon Sep 17 00:00:00 2001 From: Lars Falk-Petersen Date: Tue, 26 Nov 2024 10:42:55 +0100 Subject: [PATCH] Silence mypy when all is good. Make prospector a bit louder. --- tox.ini | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 0646eef..48fb06e 100644 --- a/tox.ini +++ b/tox.ini @@ -22,13 +22,13 @@ commands = python -m unittest discover -v -s ./sedr -p "test_*.py" [testenv:prospector] description = Run static analysis using prospector, but dont fail on errors +ignore_outcome = true deps = -r{toxinidir}/requirements.txt -r{toxinidir}/requirements-dev.txt commands = prospector --no-autodetect \ --test-warnings \ --die-on-tool-error \ - --zero-exit \ {toxinidir}/sedr/ [testenv:format] @@ -40,12 +40,11 @@ deps = commands = ruff format {toxinidir}/sedr [testenv:mypy] -ignore_outcome = true description = Check typing TODO deps = -r{toxinidir}/requirements.txt -r{toxinidir}/requirements-dev.txt -commands = mypy --follow-imports skip {toxinidir}/sedr +commands = mypy --ignore-missing-imports {toxinidir}/sedr [testenv:bandit] description = Check for security issues