-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
34 lines (29 loc) · 904 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
[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
line_length = 120
[flake8]
max-line-length = 120
extend-ignore = E203, W503
#refers: https://black.readthedocs.io/en/stable/compatible_configs.html#id1
[pylint]
max-line-length = 120
fail-under = 8
[pylint.messages_control]
disable = C0330, C0326, C0114, C0115, C0116
# C0330: Wrong hanging indentation before block (add 4 spaces)
# C0326: bad-whitespace
# C0114 (missing-module-docstring)
# C0115 (missing-class-docstring)
# C0116 (missing-function-docstring)
# refers: https://black.readthedocs.io/en/stable/compatible_configs.html#pylint
[mypy]
ignore_missing_imports = True
# refers: https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-type-hints-for-third-party-library
[tool.brunette]
line-length = 120
verbose = True
single-quotes = false