Skip to content

ENH: switch to prek - #695

Merged
redeboer merged 11 commits into
mainfrom
switch-to-prek
Sep 11, 2026
Merged

redeboer merged 11 commits into
mainfrom
switch-to-prek

Conversation

@redeboer

@redeboer redeboer commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Closes #694

⚙️ Enhancements

  • Replaced pre-commit with prek, a drop-in replacement that reads the same .pre-commit-config.yaml file. The check-dev-files hook now updates CONTRIBUTING.md instructions, the _upgrade-precommit Poe/Pixi task, and removes pre-commit, pre-commit-uv, and prek from dependency groups.
  • The generated _upgrade-precommit task now runs prek autoupdate without the -j flag, since prek does not support it.
  • Added a .prekignore file so the test fixture under tests/utilities/precommit/ is not treated as a nested prek project.

🐛 Bug fixes

  • Kept the field ordering of the generated _upgrade-uv Poe task consistent (cmd before executor), so regenerating it no longer produces spurious diff noise.

🔨 Maintenance

  • Removed the now-redundant .gitignore exceptions for files that are already tracked.

📝 Documentation

  • Unwrapped hard-wrapped Markdown paragraphs under docs/.

Squash commit messages

* DOC: unwrap hard-wrapped Markdown under docs
* ENH: run `prek autoupdate` without `-j` flag
* FIX: keep upgrade task field ordering consistent
* MAINT: remove redundant `.gitignore` exceptions

@redeboer redeboer self-assigned this Sep 9, 2026
@redeboer redeboer added the ⚙️ Enhancement Improvements and optimizations of existing features label Sep 9, 2026
@redeboer
redeboer changed the base branch from main to dependabot/lock-6db8df5aeb September 11, 2026 09:57
@redeboer
redeboer added this pull request to stack #699 September 11, 2026 09:57
Base automatically changed from dependabot/lock-6db8df5aeb to main September 11, 2026 12:57
@redeboer redeboer added ❗ Behavior Changes that may affect the framework output 🔨 Maintenance Maintenance and upkeep improvements 📝 Docs Improvements or additions to documentation labels Sep 11, 2026
@redeboer redeboer removed 📝 Docs Improvements or additions to documentation 🔨 Maintenance Maintenance and upkeep improvements labels Sep 11, 2026
@redeboer redeboer added 🔨 Maintenance Maintenance and upkeep improvements 📝 Docs Improvements or additions to documentation 🐛 Bug Something isn't working and removed ❗ Behavior Changes that may affect the framework output labels Sep 11, 2026
@redeboer redeboer added this to the 0.9.8 milestone Sep 11, 2026
@redeboer
redeboer marked this pull request as ready for review September 11, 2026 14:07
@redeboer
redeboer merged commit f6a4723 into main Sep 11, 2026
29 checks passed
@redeboer
redeboer deleted the switch-to-prek branch September 11, 2026 14:08
@redeboer redeboer removed 📝 Docs Improvements or additions to documentation 🔨 Maintenance Maintenance and upkeep improvements labels Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 Bug Something isn't working ⚙️ Enhancement Improvements and optimizations of existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch from pre-commit to prek

2 participants