forked from CSCfi/metax-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
27 lines (26 loc) · 649 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
[flake8]
ignore =
# line too long (97 > 79 characters)
E501,
# block comment should start with '# '
E265,
# at least two spaces before inline comment
E261,
# expected 2 blank lines, found 1
E302,
# expected 2 blank lines after class or function definition, found 1
E305,
# no newline at end of file
W292,
# multiple spaces after ':'
E241,
# whitespace before '}'
E202,
# whitespace before '{'
E201,
# module level import not at top of file
E402,
# continuation line under-indented for visual indent
E128
# often contains "unused" imports
exclude = __init__.py