forked from johnbeard/kiplot
-
Notifications
You must be signed in to change notification settings - Fork 68
/
setup.cfg
67 lines (58 loc) · 1.29 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
67
[no-commit-to-branch]
branch = main
[check-yaml]
unsafe = True
[yamllint]
ignore: |
tests/yaml_samples/simple_position_csv_pre.kibot.yaml
[pyupgrade]
py36-plus = True
[black]
safe = True
quiet = True
line-length = 127
[autoflake8]
in-place = True
recursive = True
expand-star-imports = True
[check-docstring-first]
ignore: kibot/banner.py
[codespell]
skip=entrypoint.sh,kibot/banner.py,kibot/bom/kibot_logo.py
ignore-words-list=kibot,tht,ontext
#ignore-words=ignored.txt
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 = 50
builtins = _
exclude = experiments/kicad/v6/
experiments/JLC/
experiments/resistor_colors/
experiments/EasyEDA/
experiments/grammar
kibot/mcpyrate/
kibot/PcbDraw/
kibot/PyPDF2/
kibot/resources
submodules/
pp/
output/
tools/msgfmt.py
tools/pygettext.py
[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