summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorJoseph Ciurej <ciurej1@llnl.gov>2016-05-26 14:27:15 -0700
committerJoseph Ciurej <ciurej1@llnl.gov>2016-05-26 14:27:15 -0700
commite95eedb165c54e00d22bd6d5acfdf8c7c55d140e (patch)
treeac34d9e8fd3af0a257007487190599c072cbe6e5 /.flake8
parent734fb459a45896ee41881ca906643bd362be3e37 (diff)
downloadspack-e95eedb165c54e00d22bd6d5acfdf8c7c55d140e.tar.gz
spack-e95eedb165c54e00d22bd6d5acfdf8c7c55d140e.tar.bz2
spack-e95eedb165c54e00d22bd6d5acfdf8c7c55d140e.tar.xz
spack-e95eedb165c54e00d22bd6d5acfdf8c7c55d140e.zip
Added a style checking exemption for lambda expressions.
Diffstat (limited to '.flake8')
-rw-r--r--.flake85
1 files changed, 4 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index a1e2fcc1f8..12ae2efa80 100644
--- a/.flake8
+++ b/.flake8
@@ -8,6 +8,9 @@
# - E221: multiple spaces before operator
# - E241: multiple spaces after ‘,’
#
+# Let people use terse Python features:
+# - E731 : lambda expressions
+#
# Spack allows wildcard imports:
# - F403: disable wildcard import
#
@@ -16,5 +19,5 @@
# - F999: name name be undefined or undefined from star imports.
#
[flake8]
-ignore = E221,E241,F403,F821,F999
+ignore = E221,E241,E731,F403,F821,F999
max-line-length = 79