Skip to content

Commit

Permalink
Silence mypy when all is good. Make prospector a bit louder.
Browse files Browse the repository at this point in the history
  • Loading branch information
ways committed Nov 26, 2024
1 parent 66dd8be commit d84e95d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand Down

0 comments on commit d84e95d

Please sign in to comment.