summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-06-15 14:38:53 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-06-15 14:38:53 -0500
commitea80c8d3c3a0690dcb357840cfb0db824f44fdc9 (patch)
tree165853d42128807bb44e7f0ccb4e1ab8bd27bbfa /share
parent44e188f1111ce4251a756d92cae7c5a7e0ed41fe (diff)
downloadspack-ea80c8d3c3a0690dcb357840cfb0db824f44fdc9.tar.gz
spack-ea80c8d3c3a0690dcb357840cfb0db824f44fdc9.tar.bz2
spack-ea80c8d3c3a0690dcb357840cfb0db824f44fdc9.tar.xz
spack-ea80c8d3c3a0690dcb357840cfb0db824f44fdc9.zip
Ignore E501 for depends_on and extends
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-flake82
1 files changed, 2 insertions, 0 deletions
diff --git a/share/spack/qa/run-flake8 b/share/spack/qa/run-flake8
index 44eb0167fb..57534eb6e2 100755
--- a/share/spack/qa/run-flake8
+++ b/share/spack/qa/run-flake8
@@ -29,6 +29,8 @@ for file in $changed; do
perl -i -pe 's/^(\s*url\s*=.*)$/\1 # NOQA: ignore=E501/' $file
perl -i -pe 's/^(\s*version\(.*\).*)$/\1 # NOQA: ignore=E501/' $file
perl -i -pe 's/^(\s*variant\(.*\).*)$/\1 # NOQA: ignore=E501/' $file
+ perl -i -pe 's/^(\s*depends_on\(.*\).*)$/\1 # NOQA: ignore=E501/' $file
+ perl -i -pe 's/^(\s*extends\(.*\).*)$/\1 # NOQA: ignore=E501/' $file
# Exempt '@when' decorated functions from redefinition errors.
perl -i -pe 's/^(\s*\@when\(.*\).*)$/\1 # NOQA: ignore=F811/' $file