summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-04-25 13:01:25 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2017-04-25 11:01:25 -0700
commit58f2a947db98bdecb061133a7b6780fa405fbd33 (patch)
tree21061413e68f4563b54276088f613ed3dd85bac2 /.flake8
parent827ebe280db235ce5d11ee19b822c04ea239621c (diff)
downloadspack-58f2a947db98bdecb061133a7b6780fa405fbd33.tar.gz
spack-58f2a947db98bdecb061133a7b6780fa405fbd33.tar.bz2
spack-58f2a947db98bdecb061133a7b6780fa405fbd33.tar.xz
spack-58f2a947db98bdecb061133a7b6780fa405fbd33.zip
Properly ignore flake8 F811 redefinition errors (#3932)
* Properly ignore flake8 F811 redefinition errors * Add unit tests for flake8 command * Allow spack flake8 to work on systems with older git * Skip flake8 unit tests for Python 2.6 and 3.3
Diffstat (limited to '.flake8')
-rw-r--r--.flake84
1 files changed, 2 insertions, 2 deletions
diff --git a/.flake8 b/.flake8
index 023f392952..e697d5ea04 100644
--- a/.flake8
+++ b/.flake8
@@ -11,12 +11,12 @@
# - E272: multiple spaces before keyword
#
# Let people use terse Python features:
-# - E731 : lambda expressions
+# - E731: lambda expressions
#
# Spack allows wildcard imports:
# - 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:
# - F405: `name` may be undefined, or undefined from star imports: `module`
# - F821: undefined name `name` (needed for cmake, configure, etc.)
# - F999: syntax error in doctest