From 1b7917de6f72d39b93c3122820ae356388829b2e Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 9 Dec 2024 10:36:45 +0100 Subject: [PATCH] Fix up formatting --- galaxy_release_util/point_release.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/galaxy_release_util/point_release.py b/galaxy_release_util/point_release.py index 4838e28..31fd6e7 100644 --- a/galaxy_release_util/point_release.py +++ b/galaxy_release_util/point_release.py @@ -255,8 +255,11 @@ def bump_package_version(package: Package, new_version: Version): elif line == " # BEGIN pinned-requirements.txt": new_content.append(line) requirements_txt = True - requirements = [f" {x.strip()}" for x in open(package.pinned_requirements_txt).readlines() if - x.strip() and not x.startswith('--')] + requirements = [ + f" {x.strip()}" + for x in open(package.pinned_requirements_txt).readlines() + if x.strip() and not x.startswith("--") + ] new_content.extend(requirements) continue new_content.append(line)