forked from zigpy/zigpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
58 lines (53 loc) · 1.23 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
[pyupgrade]
py37plus = True
[autoflake8]
in-place = True
recursive = False
expand-star-imports = False
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build
[flake8]
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build
# To work with Black
max-line-length = 88
# D202 No blank lines allowed after function docstring
# E203: Whitespace before ':'
# E501: line too long
# W503: Line break occurred before a binary operator
ignore =
# D202,
E203,
E501,
W503
[isort]
profile = black
# will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
known_first_party = zigpy,tests
forced_separate = tests
combine_as_imports = true
[codespell]
ignore-words-list = ser,nd,hass
skip = ./.*,test/*
quiet-level = 2
[mypy]
ignore_missing_imports = True
install_types = True
non_interactive = True
show_error_codes = True
show_error_context = True
error_summary = True
disable_error_code =
# Only a few notifications left:
type-arg,
# Only a few notifications left:
return-value,
# operator breaks in CI (zigpy.types.basic), but not locally
operator,
valid-type,
misc,
dict-item,
attr-defined,
assignment,
arg-type
# Only report on selected files
follow_imports = silent