Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (80 sloc) 2.93 KB
[flake8]
# In .style.yapf and .pylintrc we use 100, but in some cases this isn't enforced.
max-line-length=550
ignore=
################################################################################################
# Miscellaneous stuff
################################################################################################
# Incompatible with the vim folding markers:
# block comment should start with '# '
E265,
# Incompatible with our conditional imports:
# module level import not at top of file
E402,
# Incompatible with our re-exports:
# 'from FOO import *' used; unable to detect undefined names
F403,
# Incompatible with our exec/eval magic:
# 'FOO' may be undefined, or defined from star imports
F405,
# Bug in pyflakes
# syntax error in type comment 'FOO'
F723,
# Bug in pyflakes, already fixed in https://github.com/PyCQA/pyflakes/pull/455, but no release in sight after ages... :-P
# undefined name 'FOO'
F821,
# Highly questionable advice, we don't use the "Guido-hates-FP"-style...
# do not assign a lambda expression, use a def
E731,
################################################################################################
# Incompatible with YAPF
################################################################################################
# continuation line under-indented for hanging indent
E121,
# closing bracket does not match visual indentation
E124,
# continuation line with same indent as next logical line
E125,
# continuation line unaligned for hanging indent
E131,
# missing whitespace around operator
E225,
# missing whitespace after ','
E231,
# expected 1 blank line, found FOO
E301,
# expected 2 blank lines after class or function definition, found FOO
E305,
# line break before binary operator
W503,
# line break after binary operator
W504,
# unexpected spaces around keyword / parameter equals
E251,
################################################################################################
# We should probably fix the stuff below, but it's just too much noise for now...
################################################################################################
# continuation line missing indentation or outdented
E122,
# continuation line over-indented for hanging indent
E126,
# continuation line over-indented for visual indent
E127,
# continuation line under-indented for visual indent
E128,
# visually indented line with same indent as next logical line
E129,
# whitespace after '{'
E201,
# whitespace before '}'
E202,
# whitespace before ':'
E203,
# multiple spaces before operator
E221,
# missing whitespace around arithmetic operator
E226,
# multiple spaces after ','
E241,
# ambiguous variable name 'FOO'
E741,
You can’t perform that action at this time.