[@spackbot] updating style on behalf of wdconinc

This commit is contained in:
wdconinc 2024-05-15 16:36:48 +00:00
parent a9eda38bc7
commit 3536e2b83a

View File

@ -446,7 +446,7 @@ def _check_patch_urls(pkgs, error_cls):
f"patch URL in package {pkg_cls.name} must not be a pull request commit", f"patch URL in package {pkg_cls.name} must not be a pull request commit",
[patch.url], [patch.url],
) )
) )
elif re.match(github_patch_url_re, patch.url): elif re.match(github_patch_url_re, patch.url):
full_index_arg = "?full_index=1" full_index_arg = "?full_index=1"
if not patch.url.endswith(full_index_arg): if not patch.url.endswith(full_index_arg):