summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/flake8.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/spack/spack/cmd/flake8.py b/lib/spack/spack/cmd/flake8.py
index 33c06155ae..6cfd98dbb4 100644
--- a/lib/spack/spack/cmd/flake8.py
+++ b/lib/spack/spack/cmd/flake8.py
@@ -58,14 +58,14 @@ exemptions = {
r'^\s*svn\s*=',
r'^\s*hg\s*=',
r'^\s*list_url\s*=',
- r'^\s*version\(.*\)',
- r'^\s*variant\(.*\)',
- r'^\s*provides\(.*\)',
- r'^\s*extends\(.*\)',
- r'^\s*depends_on\(.*\)',
- r'^\s*conflicts\(.*\)',
- r'^\s*resource\(.*\)',
- r'^\s*patch\(.*\)',
+ r'^\s*version\(',
+ r'^\s*variant\(',
+ r'^\s*provides\(',
+ r'^\s*extends\(',
+ r'^\s*depends_on\(',
+ r'^\s*conflicts\(',
+ r'^\s*resource\(',
+ r'^\s*patch\(',
],
# Exempt '@when' decorated functions from redefinition errors.
'F811': [