-
Notifications
You must be signed in to change notification settings - Fork 2
/
.flake8
36 lines (36 loc) · 1.16 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
34
35
36
[flake8]
exclude =
.git,
.gitignore,
.vscode,
__pycache__,
zip_build,
example,
img,
symbology,
resources.py,
ignore =
# C901 # function is too complex (mccabe)
# E114, # indentation is not a multiple of four (comment)
# E117, # over-indented (comment)
# E122, # continuation line missing indentation or outdented
# E203, # whitespace before ','
# E226, # missing whitespace around arithmetic operator
# E241, # multiple spaces after ','
# E242, # tab after ','
# E251, # unexpected spaces around keyword / parameter equals
# E302, # expected 2 blank lines, found 1
# E303, # too many blank lines (2)
# E501, # line too long (> 175 characters)
# E701, # multiple statements on one line (colon)
# E722, # do not use bare 'except'
# E999, # SyntaxError: invalid syntax
# F401, # imported but unused
# F541, # f-string is missing placeholders
# F841, # local variable is assigned to but never used
# W291, # trailing whitespace
# W293, # blank line contains whitespace
statistics = True
count = True
max-line-length = 175
max-complexity=5