Skip to content

Use dependency groups, uv, and local pre-commit hooks#27

Merged
patrick-kidger merged 1 commit into
patrick-kidger:mainfrom
patrick-kidger-bot:dependency-groups
Apr 20, 2026
Merged

Use dependency groups, uv, and local pre-commit hooks#27
patrick-kidger merged 1 commit into
patrick-kidger:mainfrom
patrick-kidger-bot:dependency-groups

Conversation

@patrick-kidger-bot
Copy link
Copy Markdown

This PR modernises the development setup:

  • pyproject.toml: Converted [project.optional-dependencies] to [dependency-groups]. Dev group now has prek, pyright, ruff, toml-sort (pinned). Added [tool.uv] with default-groups.
  • CONTRIBUTING.md: Updated to require uv. All commands now use uv run.
  • .pre-commit-config.yaml: Replaced remote hooks with local language: system hooks using uv run. Added fail_fast, meta checks, trailing-whitespace (excluding .md), check-toml, mixed-line-ending.
  • GitHub Actions: Replaced setup-python + pip install with setup-uv + uv run. Updated release workflow to use dependency groups.

@patrick-kidger patrick-kidger merged commit 8ed9511 into patrick-kidger:main Apr 20, 2026
2 checks passed
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.

2 participants