Skip to content

Commit a8ede82

Browse files
Lock file maintenance (#56)
Notable changes: - typer 0.26.8 -> 0.27.0: changes some formatting on `--help` pages - ruff 0.15.21 -> 0.16.0: necessitates fix for new warning FURB192 (`sorted(..., reverse=True)[0]` -> `max(...)`) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tanner Doshier <git@doshitan.com>
1 parent db1f4e2 commit a8ede82

3 files changed

Lines changed: 62 additions & 62 deletions

File tree

flake.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nava/platform/projects/migrate_from_legacy_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def get_closest_migration_tag(git: GitProject, commit: str) -> tuple[str, bool]:
180180
candidates.append(migration_version)
181181

182182
if candidates:
183-
closest_migration_version = sorted(candidates, reverse=True)[0]
183+
closest_migration_version = max(candidates)
184184
return MIGRATION_TAG_PREFIX + "v" + str(closest_migration_version), False
185185

186186
raise Exception(f"Can't find matching migration version for {closest_tag}")

0 commit comments

Comments
 (0)