Make flake8 check spack script as well as .py files (#11513)

* Make flake8 check bin/spack
This commit is contained in:
Adam J. Stewart 2019-05-20 15:39:25 -05:00 committed by Todd Gamblin
parent 4d71117080
commit e2065fad72

View file

@ -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