Files
2022-05-05 13:15:52 +02:00

55 lines
1017 B
INI

[flake8]
# Use black line length:
max-line-length = 88
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
exclude = lib,ui
[isort]
profile = black
multi_line_output = 3
known_mobase = mobase
sections=FUTURE,STDLIB,THIRDPARTY,MOBASE,FIRSTPARTY,LOCALFOLDER
[mypy]
warn_return_any = True
warn_unused_configs = True
namespace_packages = True
[mypy-antlr4.*]
ignore_missing_imports = True
[mypy-.ui.*]
ignore_missing_imports = True
[mypy-src.ui.*]
ignore_missing_imports = True
[mypy-wizard.antlr4.*]
ignore_errors = True
[mypy-pytest]
ignore_missing_imports = True
[tox:tox]
skipsdist = true
envlist = py310-lint
[testenv:py310-lint]
skip_install = true
deps =
git+https://github.com/TilmanK/PyQt6-stubs.git
mobase-stubs==2.5.0.dev5
git+https://github.com/Holt59/bain-wizard-interpreter@v0.0.3
black
mypy
flake8
flake8-black
isort
commands =
black src --check --diff --exclude "lib" --exclude "ui"
isort -c src
flake8 src
mypy src