summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-03-23 14:35:11 -0500
committerGitHub <noreply@github.com>2017-03-23 14:35:11 -0500
commit4ecfc39e1e94581001a66f3280d58ae9e29d0acf (patch)
tree742e0dd1f7f4e982695ce7644e135ba53ba596b1 /lib
parentace890af49645d264a2d3ec0ac93e53dd43278d5 (diff)
downloadspack-4ecfc39e1e94581001a66f3280d58ae9e29d0acf.tar.gz
spack-4ecfc39e1e94581001a66f3280d58ae9e29d0acf.tar.bz2
spack-4ecfc39e1e94581001a66f3280d58ae9e29d0acf.tar.xz
spack-4ecfc39e1e94581001a66f3280d58ae9e29d0acf.zip
Add Expect package (#3517)
* Add Expect package * Ignore patches during flake8 tests for package.py files * Remove controversial changes
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/flake8.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/flake8.py b/lib/spack/spack/cmd/flake8.py
index 5ee68a80df..d5ed9adf18 100644
--- a/lib/spack/spack/cmd/flake8.py
+++ b/lib/spack/spack/cmd/flake8.py
@@ -59,7 +59,8 @@ exemptions = {
r'^\s*version\(.*\)',
r'^\s*variant\(.*\)',
r'^\s*depends_on\(.*\)',
- r'^\s*extends\(.*\)'],
+ r'^\s*extends\(.*\)',
+ r'^\s*patch\(.*\)'],
# Exempt '@when' decorated functions from redefinition errors.
811: [r'^\s*\@when\(.*\)'],
},