audit: fix style
This commit is contained in:
parent
3536e2b83a
commit
b968046c66
@ -443,7 +443,8 @@ def _check_patch_urls(pkgs, error_cls):
|
|||||||
if re.match(github_unstable_pull_commits_re, patch.url):
|
if re.match(github_unstable_pull_commits_re, patch.url):
|
||||||
errors.append(
|
errors.append(
|
||||||
error_cls(
|
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],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -452,7 +453,8 @@ def _check_patch_urls(pkgs, error_cls):
|
|||||||
if not patch.url.endswith(full_index_arg):
|
if not patch.url.endswith(full_index_arg):
|
||||||
errors.append(
|
errors.append(
|
||||||
error_cls(
|
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],
|
[patch.url],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user