diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2017-09-26 00:29:31 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-09-30 02:06:59 -0700 |
commit | 14c141a410e7fb2312ec5d4157d2497bba35aa01 (patch) | |
tree | 79fc654622860fce4a19db0da827820fcf2ee263 | |
parent | bf610a379f1b613d75cf2c9d7e7575bf59f57059 (diff) | |
download | spack-14c141a410e7fb2312ec5d4157d2497bba35aa01.tar.gz spack-14c141a410e7fb2312ec5d4157d2497bba35aa01.tar.bz2 spack-14c141a410e7fb2312ec5d4157d2497bba35aa01.tar.xz spack-14c141a410e7fb2312ec5d4157d2497bba35aa01.zip |
add spack flake8 exception for long checksums
-rw-r--r-- | lib/spack/spack/cmd/flake8.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/cmd/flake8.py b/lib/spack/spack/cmd/flake8.py index 9691ed138b..c3a5d70e58 100644 --- a/lib/spack/spack/cmd/flake8.py +++ b/lib/spack/spack/cmd/flake8.py @@ -79,9 +79,9 @@ exemptions = { # exemptions applied to all files. r'.py$': { - # Exempt lines with URLs from overlong line errors. 'E501': [ - r'(https?|ftp|file)\:', + r'(https?|ftp|file)\:', # URLs + r'([\'"])[0-9a-fA-F]{32,}\1', # long hex checksums ] }, } |