diff options
-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 105ede2c70..8c2b90a2a1 100644 --- a/lib/spack/spack/cmd/flake8.py +++ b/lib/spack/spack/cmd/flake8.py @@ -127,7 +127,7 @@ def changed_files(args): for f in files: # Ignore non-Python files - if not f.endswith('.py'): + if not (f.endswith('.py') or f == 'bin/spack'): continue # Ignore files in the exclude locations |