From b968046c66be9912637648287e69a1e982ee35e9 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Wed, 15 May 2024 12:29:05 -0500 Subject: [PATCH] audit: fix style --- lib/spack/spack/audit.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/spack/spack/audit.py b/lib/spack/spack/audit.py index dd9405f4536..7697cd9003b 100644 --- a/lib/spack/spack/audit.py +++ b/lib/spack/spack/audit.py @@ -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], ) )