summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory Lee <lee218@llnl.gov>2017-03-31 17:51:09 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2017-03-31 17:51:09 -0700
commit12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c (patch)
treedb14305c781d04d60d76ad183ff0710cf0726a81 /lib
parent0c44dd28bb85b874ddd109974ff3585b78d85ec4 (diff)
downloadspack-12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c.tar.gz
spack-12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c.tar.bz2
spack-12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c.tar.xz
spack-12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c.zip
fix flake8 ignore syntax (use E instead of ignore) (#3651)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/flake8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/flake8.py b/lib/spack/spack/cmd/flake8.py
index 47f531fe84..19724142bb 100644
--- a/lib/spack/spack/cmd/flake8.py
+++ b/lib/spack/spack/cmd/flake8.py
@@ -129,7 +129,7 @@ def filter_file(source, dest, output=False):
for code, patterns in errors.items():
for pattern in patterns:
if pattern.search(line):
- line += (" # NOQA: ignore=%d" % code)
+ line += (" # NOQA: E%d" % code)
break
oline = line + '\n'