Skip to content

Fix pre-commit_autoupdate install for dependency-group repos#16

Merged
bboe merged 1 commit into
mainfrom
fix_autoupdate_install
Jun 7, 2026
Merged

Fix pre-commit_autoupdate install for dependency-group repos#16
bboe merged 1 commit into
mainfrom
fix_autoupdate_install

Conversation

@bboe

@bboe bboe commented Jun 7, 2026

Copy link
Copy Markdown
Member

The consumer repos converted from extras to dependency groups, so uv pip install --system pre-commit ".[dev]" no longer matches reality — there is no dev extra anymore. With the Monday cron about to fire, this switches the install to:

  • uv sync --frozen --group lint — the lint group provides pre-commit in all four repos; the project itself is still installed because praw's local hooks (Static Word Checks / Check Documentation) import it; --frozen keeps uv.lock churn out of the autoupdate PR
  • uv run --no-sync pre-commit ... for the subsequent steps
  • Drops the now-unneeded setup-python step (uv manages the interpreter via requires-python)

zizmor and actionlint clean. Needs a v1.3.1 tag and consumer pin bumps after merge.

The consumer repos no longer define a dev extra; they use dependency
groups. Install the project and its lint group (which provides
pre-commit) with uv sync instead. The project itself is still needed
because some repos' local hooks import it.
@bboe bboe merged commit ddbf56d into main Jun 7, 2026
2 checks passed
@bboe bboe deleted the fix_autoupdate_install branch June 7, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant