-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
54 lines (45 loc) · 1017 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[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/[email protected]
black
mypy
flake8
flake8-black
isort
commands =
black src --check --diff --exclude "lib" --exclude "ui"
isort -c src
flake8 src
mypy src