diff options
author | Gregory Lee <lee218@llnl.gov> | 2017-03-31 17:51:09 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-03-31 17:51:09 -0700 |
commit | 12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c (patch) | |
tree | db14305c781d04d60d76ad183ff0710cf0726a81 | |
parent | 0c44dd28bb85b874ddd109974ff3585b78d85ec4 (diff) | |
download | spack-12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c.tar.gz spack-12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c.tar.bz2 spack-12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c.tar.xz spack-12c1216c34f70b95ee41eaa7aa4cc0942dc4d17c.zip |
fix flake8 ignore syntax (use E instead of ignore) (#3651)
-rw-r--r-- | lib/spack/spack/cmd/flake8.py | 2 |
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' |