diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-05-20 15:39:25 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-05-20 13:39:25 -0700 |
commit | e2065fad726a7b41e7fd4465c322b585b2aaa7f1 (patch) | |
tree | e899e3303668b1e646e192320b02016e7e3ca3af /lib | |
parent | 4d7111708088eeeeb9b2d558f490dfccee21e538 (diff) | |
download | spack-e2065fad726a7b41e7fd4465c322b585b2aaa7f1.tar.gz spack-e2065fad726a7b41e7fd4465c322b585b2aaa7f1.tar.bz2 spack-e2065fad726a7b41e7fd4465c322b585b2aaa7f1.tar.xz spack-e2065fad726a7b41e7fd4465c322b585b2aaa7f1.zip |
Make flake8 check spack script as well as .py files (#11513)
* Make flake8 check bin/spack
Diffstat (limited to 'lib')
-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 |