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
# W601: .has_key() is deprecated, use ‘in’
16
# W605: invalid escape sequence
17
# W606: 'async' and 'await' are reserved keywords starting with Python 3.7
18
# N801: class names should use CapWords convention
19
# N802: function name should be lowercase
20
# N806: variable in function should be lowercase
21
ignore = E128,E129,E226,E231,E251,E265,E302,E303,E305,E402,E731,W504,W601,W605,W606,N801,N802,N806
22
exclude =
23
.tox,
24
pywebsocket,
25
third_party,
26
wptserve/docs/conf.py,
27
wptserve/tests/functional/docroot/invalid.py
28
max-line-length = 141