Added a style checking exemption for lambda expressions.
This commit is contained in:
parent
734fb459a4
commit
e95eedb165
1 changed files with 4 additions and 1 deletions
5
.flake8
5
.flake8
|
@ -8,6 +8,9 @@
|
||||||
# - E221: multiple spaces before operator
|
# - E221: multiple spaces before operator
|
||||||
# - E241: multiple spaces after ‘,’
|
# - E241: multiple spaces after ‘,’
|
||||||
#
|
#
|
||||||
|
# Let people use terse Python features:
|
||||||
|
# - E731 : lambda expressions
|
||||||
|
#
|
||||||
# Spack allows wildcard imports:
|
# Spack allows wildcard imports:
|
||||||
# - F403: disable wildcard import
|
# - F403: disable wildcard import
|
||||||
#
|
#
|
||||||
|
@ -16,5 +19,5 @@
|
||||||
# - F999: name name be undefined or undefined from star imports.
|
# - F999: name name be undefined or undefined from star imports.
|
||||||
#
|
#
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E221,E241,F403,F821,F999
|
ignore = E221,E241,E731,F403,F821,F999
|
||||||
max-line-length = 79
|
max-line-length = 79
|
||||||
|
|
Loading…
Reference in a new issue