diff options
Diffstat (limited to 'lib')
-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 ] }, } |