armour/tox.ini
Ari Archer 70a746b6a8
Update information
Signed-off-by: Ari Archer <ari@ari.lt>
2025-01-02 11:45:53 +02:00

36 lines
885 B
INI

[flake8]
max-line-length = 88
[pycodestyle]
max-line-length = 88
[isort]
line_length = 88
known_first_party = ["armour"]
[testenv]
deps =
mypy
isort
flake8
pyright
allowlist_externals = sh
commands =
mypy armour/ --warn-redundant-casts --warn-unused-ignores \
--no-warn-no-return --warn-unreachable --strict-equality \
--ignore-missing-imports --warn-unused-configs \
--disallow-untyped-calls --disallow-untyped-defs \
--disallow-incomplete-defs --check-untyped-defs \
--disallow-untyped-decorators --pretty --show-traceback \
--no-warn-unused-ignores --namespace-packages \
--python-version 3.9
isort -c armour/
flake8 --max-line-length 88 \
--ignore=W503 \
--select=E402,E9,F63,F7,F82,F401 \
--show-source \
armour/
pyright armour/
sh ./scripts/tests.sh