-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.cfg
43 lines (35 loc) · 1.01 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
[tool:pytest]
asyncio_mode=strict
[flake8]
exclude = .venv,.git,.tox
# To work with Black
max-line-length = 79
# B028 is manually surrounded by quotes, consider using the `!r`
# W503 line break before binary operator
# E501 line too long
ignore =
B028,
W503
per-file-ignores =
custom_components/zha_toolkit/__init__.py:E501
# per-file-ignores =
# example/*:F811,F401,F403
[isort]
profile = black
line_length = 79
[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
[pylint.FORMAT]
max-line-length = 79
[codespell]
builtin=clear,rare,informal,usage,code,names
ignore-words-list=hass,master,weerd,uint
skip=./.*
quiet-level=2
[mypy]
mypy_path = $MYPY_CONFIG_FILE_DIR
explicit_package_bases = yes