Some flake8 settings weren't documented
This commit is contained in:
parent
732c1985ef
commit
c6aa32bb3c
1 changed files with 7 additions and 4 deletions
11
.flake8
11
.flake8
|
@ -5,8 +5,10 @@
|
||||||
# rationale is.
|
# rationale is.
|
||||||
#
|
#
|
||||||
# Let people line things up nicely:
|
# Let people line things up nicely:
|
||||||
|
# - E129: visually indented line with same indent as next logical line
|
||||||
# - E221: multiple spaces before operator
|
# - E221: multiple spaces before operator
|
||||||
# - E241: multiple spaces after ‘,’
|
# - E241: multiple spaces after ','
|
||||||
|
# - E272: multiple spaces before keyword
|
||||||
#
|
#
|
||||||
# Let people use terse Python features:
|
# Let people use terse Python features:
|
||||||
# - E731 : lambda expressions
|
# - E731 : lambda expressions
|
||||||
|
@ -15,9 +17,10 @@
|
||||||
# - F403: disable wildcard import
|
# - F403: disable wildcard import
|
||||||
#
|
#
|
||||||
# These are required to get the package.py files to test clean.
|
# These are required to get the package.py files to test clean.
|
||||||
# - F821: undefined name (needed for cmake, configure, etc.)
|
# - F405: `name` may be undefined, or undefined from star imports: `module`
|
||||||
# - F999: name name be undefined or undefined from star imports.
|
# - F821: undefined name `name` (needed for cmake, configure, etc.)
|
||||||
|
# - F999: syntax error in doctest
|
||||||
#
|
#
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E129,E221,E241,E272,E731,F403,F821,F999,F405
|
ignore = E129,E221,E241,E272,E731,F403,F405,F821,F999
|
||||||
max-line-length = 79
|
max-line-length = 79
|
||||||
|
|
Loading…
Reference in a new issue