Source code

Revision control

Other Tools

1
[flake8]
2
select = E,W,F,N
3
# E128: continuation line under-indented for visual indent
4
# E129: visually indented line with same indent as next logical line
5
# E226: missing whitespace around arithmetic operator
6
# E231: missing whitespace after ‘,’, ‘;’, or ‘:’
7
# E251: unexpected spaces around keyword / parameter equals
8
# E265: block comment should start with ‘# ‘
9
# E302: expected 2 blank lines, found 0
10
# E303: too many blank lines (3)
11
# E305: expected 2 blank lines after end of function or class
12
# E402: module level import not at top of file
13
# E731: do not assign a lambda expression, use a def
14
# W504: line break after binary operator
15
# W605: invalid escape sequence
16
# N801: class names should use CapWords convention
17
# N802: function name should be lowercase
18
# N806: variable in function should be lowercase
19
ignore = E128,E129,E226,E231,E251,E265,E302,E303,E305,E402,E731,W504,W605,N801,N802,N806
20
exclude =
21
.tox,
22
pywebsocket,
23
third_party,
24
wptrunner,
25
wptserve/docs/conf.py,
26
wptserve/tests/functional/docroot/invalid.py
27
max-line-length = 141