37 lines
964 B
INI
37 lines
964 B
INI
[flake8]
|
|
max-line-length = 88
|
|
|
|
[pycodestyle]
|
|
max-line-length = 88
|
|
|
|
[isort]
|
|
line_length = 88
|
|
known_first_party = ["flask_ishuman"]
|
|
|
|
[testenv]
|
|
deps =
|
|
black
|
|
mypy
|
|
isort
|
|
flake8
|
|
pyright
|
|
pylint
|
|
|
|
commands =
|
|
black --check flask_ishuman/
|
|
mypy flask_ishuman/ --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 flask_ishuman/
|
|
flake8 --max-line-length 88 \
|
|
--ignore=W503 \
|
|
--select=E402,E9,F63,F7,F82,F401 \
|
|
--show-source \
|
|
flask_ishuman/
|
|
pyright flask_ishuman/
|
|
pylint flask_ishuman/ --disable=C0103
|