-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.cfg
66 lines (56 loc) · 1.35 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
[no-commit-to-branch]
branch = main
[check-yaml]
unsafe = True
[pyupgrade]
py36-plus = True
[black]
safe = True
quiet = True
line-length = 127
[isort]
profile = black
line_length = 127
[autoflake8]
in-place = True
recursive = True
expand-star-imports = True
[codespell]
ignore-words-list=kibot,tht
quiet-level = 2
[flake8]
ignore = E402, E226, E126, W504
# docstrings - Missing
D1
# docstrings - whitespace
D2
# docstrings - text style (imperative, dot)
D4
max-line-length = 127
max-complexity = 30
exclude = experiments/kicad/v6/
experiments/JLC/
kibot/mcpyrate/
kibot/PyPDF2/
submodules/
pp/
output/
[mypy]
exclude = experiments build
ignore_missing_imports = True
# install_types = True
# non_interactive = True
check_untyped_defs = True
show_error_codes = True
show_error_context = True
# additional_dependencies = module==version
[pylint.MESSAGES CONTROL]
disable = invalid-name, unused-argument, broad-except, missing-docstring, fixme,
consider-using-f-string,
too-many-branches, too-many-statements, too-many-arguments, protected-access,
import-error, too-many-locals, import-outside-toplevel,
logging-fstring-interpolation, line-too-long,
duplicate-code,
logging-not-lazy, wrong-import-order,
[pylint.FORMAT]
max-line-length = 127