From 4ecfc39e1e94581001a66f3280d58ae9e29d0acf Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 23 Mar 2017 14:35:11 -0500 Subject: Add Expect package (#3517) * Add Expect package * Ignore patches during flake8 tests for package.py files * Remove controversial changes --- lib/spack/spack/cmd/flake8.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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\(.*\)'], }, -- cgit v1.2.3-70-g09d2