spack checksum: black compliance (#31851)

This commit is contained in:
Adam J. Stewart 2022-08-01 22:29:30 -07:00 committed by GitHub
parent df4e66ecde
commit 1a61252c64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -959,7 +959,7 @@ def get_checksums_for_versions(url_dict, name, **kwargs):
# Generate the version directives to put in a package.py
version_lines = "\n".join(
[" version('{0}', sha256='{1}'{2})".format(v, h, expand_arg) for v, h in version_hashes]
[' version("{0}", sha256="{1}"{2})'.format(v, h, expand_arg) for v, h in version_hashes]
)
num_hash = len(version_hashes)