Skip to content

Commit 6d89aa2

Browse files
fix: pcu -u --all upgrades pixi and prek even when pyproject.toml is up to date
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1b48569 commit 6d89aa2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎src/afterpython/cli/commands/update.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ def dependencies(upgrade: bool, all_: bool, exclude: tuple[str, ...]):
7777
msg += f" ({category_name})"
7878
click.echo(msg)
7979
if not has_at_least_one_update:
80-
click.echo(f"\n{click.style('No dependencies to update.', bold=True)}")
81-
return
82-
if has_at_least_one_update and upgrade:
80+
click.echo(
81+
f"\n{click.style('No pyproject.toml dependencies to update.', bold=True)}"
82+
)
83+
elif upgrade:
8384
if excluded:
8485
for dep_type in dependencies:
8586
for category, deps in dependencies[dep_type].items():

0 commit comments

Comments
 (0)