-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
54 lines (48 loc) · 1.11 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
[flake8]
max-complexity = 13
max-line-length=127
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# This contains our built documentation
build,
# This contains builds of flake8 that we don't want to check
dist,
*.egg-info,
# Test / internal files
_client_test.py
ignore =
# W291 trailing whitespace
W291,
# W391 blank line at end of file
W391,
# E501: line too long
E501,
# W503: Line break occurred before a binary operator
W503,
# E203: Whitespace before ':'
E203,
# D202 No blank lines allowed after function docstring
D202,
# W504 line break after binary operator
W504
per-file-ignores =
# imported but unused
__init__.py: F401
[codespell]
skip = *.po,*.ts,.pyc
ignore-words-list = hass
[mypy]
python_version = 3.7
show_error_codes = true
ignore_errors = false
warn_return_any = true
ignore_missing_imports = True
disallow_any_generics = false
pretty = true
[mypy-examples]
ignore_errors = true
follow_imports = silent
ignore_missing_imports = true