cqas/tox.ini
Arija A. dd206f6caa
Documentation + beta v1.0.0
Signed-off-by: Arija A. <ari@ari.lt>
2025-09-20 23:48:24 +03:00

38 lines
1.1 KiB
INI

[flake8]
max-line-length = 120
[pycodestyle]
max-line-length = 120
[isort]
line_length = 120
known_first_party = ["cqas"]
[testenv]
deps =
black
mypy
isort
flake8
pyright
pylint
commands =
black --exclude '/cqas/analysers/__init__.py|/cqas/constructs/__init__.py|/cqas/analysers/complexity.py|/cqas/analysers/full.py' --check cqas/
mypy cqas/ --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 cqas/
flake8 --max-line-length 120 \
--ignore=W503 \
--select=E402,E9,F63,F7,F82,F401 \
--show-source \
cqas/
pylint cqas/ --disable=C0103,R0902,R0903,W0718,R0917,R0915,R0801 --max-line-length 120
pyright cqas/
cqas cqas/