mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
53 lines
1.0 KiB
INI
53 lines
1.0 KiB
INI
[flake8]
|
|
# Use black line length:
|
|
max-line-length = 88
|
|
extend-ignore =
|
|
# See https://github.com/PyCQA/pycodestyle/issues/373
|
|
E203, E266
|
|
|
|
[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
|
|
|
|
[mypy-psutil.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-vdf.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-_lzokay.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-lzokay.*]
|
|
ignore_missing_imports = True
|
|
|
|
[tox:tox]
|
|
skipsdist = true
|
|
envlist = py310-lint
|
|
|
|
[testenv:py310-lint]
|
|
pip_version = pip>=20
|
|
skip_install = true
|
|
deps =
|
|
git+https://github.com/TilmanK/PyQt6-stubs.git
|
|
mobase-stubs>=2.5.0.dev9
|
|
psutil==5.8.0
|
|
vdf==3.4
|
|
lzokay==1.0.1
|
|
black
|
|
flake8
|
|
flake8-black
|
|
mypy
|
|
isort
|
|
commands =
|
|
black --check --diff .
|
|
isort -c . --skip lib --skip .tox
|
|
flake8 . --exclude "lib,.tox,games/quarantine"
|
|
mypy . --platform win32 --exclude "lib" --exclude "games/quarantine"
|