forked from MiczFlor/RPi-Jukebox-RFID
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flake8
33 lines (33 loc) · 1.03 KB
/
.flake8
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
[flake8]
max-line-length = 127
ignore =
# continuation line over-indented for hanging indent
E126,
# continuation line over-indented for visual indent
E127,
# continuation line under-indented for visual indent
E128,
# line break before binary operator
W503,
# We don't always want periods at the end of the first docstring line
D400,
# We dont rephrase to imperative mood
D401
per-file-ignores =
# Only in __init__files ignore imported but unused
# Not necessary, if __all__ is declared in __init__ file
# https://www.python.org/dev/peps/pep-0008/#id48
__init__.py:F401,
components/smart-home-automation/MQTT-protocol/daemon_mqtt_client.py:W605,
components/controls/buttons_usb_encoder/*.py:E402
count = True
max-complexity = 12
statistics = True
show-source = True
filename = *.py,*.py.*
extend-exclude =
# Ignore dirs and files, which are from external sources
components/displays/HD44780-i2c/
scripts/Reader.py.pcsc
# Ignore helper scripts
scripts/helperscripts/