Skip to content

Commit

Permalink
Fix up formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Dec 9, 2024
1 parent 534cd1f commit 1b7917d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions galaxy_release_util/point_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b7917d

Please sign in to comment.