audit: fix style

This commit is contained in:
Wouter Deconinck 2024-05-15 12:29:05 -05:00 committed by GitHub
parent 3536e2b83a
commit b968046c66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -443,7 +443,8 @@ def _check_patch_urls(pkgs, error_cls):
if re.match(github_unstable_pull_commits_re, patch.url):
errors.append(
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],
)
)
@ -452,7 +453,8 @@ def _check_patch_urls(pkgs, error_cls):
if not patch.url.endswith(full_index_arg):
errors.append(
error_cls(
f"patch URL in package {pkg_cls.name} must end with {full_index_arg}",
f"patch URL in package {pkg_cls.name} "
+ f"must end with {full_index_arg}",
[patch.url],
)
)