Repository navigation
.pre-commit-config.yaml → prek.toml - #648
Open
samcunliffe wants to merge 2 commits into
Open
samcunliffe wants to merge 2 commits into
samcunliffe wants to merge 2 commits into
Conversation
samcunliffe
marked this pull request as draft
October 6, 2026 12:03
samcunliffe
force-pushed
the
sc/prek-dot-toml
branch
from
October 6, 2026 12:26
a986c43 to
26095c6
Compare
samcunliffe
commented
Oct 7, 2026
| @@ -0,0 +1,72 @@ | |||
| # Configuration file for `prek`, a git hook framework written in Rust. | |||
| # See https://prek.j178.dev for more information. | |||
| # :schema https://www.schemastore.org/prek.json | |||
Member
Author
There was a problem hiding this comment.
This is
(an issue with toml-sorting prek's own config).
Member
Author
There was a problem hiding this comment.
We could try using check-toml which comes built-in with prek.
samcunliffe
force-pushed
the
sc/prek-dot-toml
branch
2 times, most recently
from
October 7, 2026 08:55
49838b9 to
7e71560
Compare
samcunliffe
marked this pull request as ready for review
October 7, 2026 09:12
samcunliffe
requested review from
paddyroddy
and
a balanced review from Copilot
October 7, 2026 09:12
samcunliffe
marked this pull request as draft
October 7, 2026 12:46
samcunliffe
force-pushed
the
sc/prek-dot-toml
branch
from
October 7, 2026 13:59
e600715 to
dccaec8
Compare
Toml sort prek itself. Fix some docs. Add prek (and other) badges.
samcunliffe
force-pushed
the
sc/prek-dot-toml
branch
from
October 7, 2026 14:04
dccaec8 to
cd9ae5d
Compare
samcunliffe
commented
Oct 7, 2026
|
|
||
| See | ||
| [here for an example configuration](https://github.com/UCL-ARC/python-tooling/blob/main/%7B%7Bcookiecutter.project_slug%7D%7D/.pre-commit-config.yaml) | ||
| [here for an example configuration](https://github.com/UCL-ARC/python-tooling/blob/main/%7B%7Bcookiecutter.project_slug%7D%7D/prek.toml) |
Member
Author
There was a problem hiding this comment.
The link checker will fail until this PR is merged, because this file doesn't exist on main.
samcunliffe
marked this pull request as ready for review
October 7, 2026 14:06
Member
Author
|
Hope you didn't get excessive notifications for this @paddyroddy. 🫠 I had some embarrassing fails because of the regression test data. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Follows on from
pre-commitwithprek#645prek. #644Replace the pre-commit-config files, since it's a bit confusing to have a config file named after a legacy tool.