add spack flake8 exception for long checksums
This commit is contained in:
parent
bf610a379f
commit
14c141a410
@ -79,9 +79,9 @@
|
|||||||
|
|
||||||
# exemptions applied to all files.
|
# exemptions applied to all files.
|
||||||
r'.py$': {
|
r'.py$': {
|
||||||
# Exempt lines with URLs from overlong line errors.
|
|
||||||
'E501': [
|
'E501': [
|
||||||
r'(https?|ftp|file)\:',
|
r'(https?|ftp|file)\:', # URLs
|
||||||
|
r'([\'"])[0-9a-fA-F]{32,}\1', # long hex checksums
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user