-
Notifications
You must be signed in to change notification settings - Fork 8
/
.flake8
43 lines (43 loc) · 902 Bytes
/
.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
37
38
39
40
41
42
43
[flake8]
ignore =
# continuation line indentation
E12,
# whitespace before or after (, ). :
E20,
# multiple spaces before/after operator
E221, E222,
# multiple spaces after ,
E241,
# unexpected spaces around keyword/parameter equals
E251,
# too many leading # for block comment
E266,
# multiple spaces after/before keyword
E271, E272,
# blank line
E30,
# do not use bare except
E722,
# line break
W50
per-file-ignores =
# print (logging), imports (database)
rubbergoddess.py:T001,F401
# print (logging)
core/output.py:T001
# print (logging), line too long
cogs/errors/errors.py:T001,E501
exclude =
# .py files in this directory are deprecated
config/*,
# development and testing files
test.py,
# development
.venv/,
.git/
count = True
max-complexity = 20
max-line-length = 100
max-doc-length = 100
format=%(code)s %(path)s (%(row)d:%(col)d): %(text)s
statistics = True