forked from pywemo/pywemo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
45 lines (38 loc) · 830 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
35
36
37
38
39
40
41
42
43
44
45
[flake8]
exclude =
# common directories or files to exclude
.venv,
venv,
.git,
.tox,
docs,
.eggs,
bin,
lib,
deps,
dist,
build,
__pycache__,
*.pyc,
*.egg-info,
.cache,
# pywemo specific directories to skip
pywemo/ouimeaux_device/api/xsd,
# maximum allowed McCabe complexity value for a block of code
max-complexity = 20
# to work with black
max-line-length = 79
# E203: whitespace before ':' (must disable this when using black)
extend-ignore = E203
# select = B,C,E,F,W,T4,B9
per-file-ignores =
# don't require function, method, or __init__ docstrings for tests
tests/*: D102, D103, D107
[mypy]
pretty = True
cache_dir = .cache/mypy/
no_implicit_optional = true
check_untyped_defs = true
files = pywemo
[mypy-*.api.xsd.*]
ignore_errors = True