Skip to content

Add pre-commit config parser#24

Merged
andrew merged 2 commits intomainfrom
add-pre-commit-parser
Mar 11, 2026
Merged

Add pre-commit config parser#24
andrew merged 2 commits intomainfrom
add-pre-commit-parser

Conversation

@andrew
Copy link
Copy Markdown
Contributor

@andrew andrew commented Mar 10, 2026

Parse .pre-commit-config.yaml and prek.toml files, extracting repo dependencies with their pinned revisions. Skips local, meta, and builtin repos. Strips the protocol from repo URLs, keeping the domain (e.g. github.com/psf/black rather than https://github.com/psf/black). Dependencies are scoped as development.

prek.toml is the native config format for prek, a Rust reimplementation of pre-commit. Same ecosystem, same plugins.

andrew added 2 commits March 10, 2026 18:17
Parse .pre-commit-config.yaml files, extracting repo dependencies
with their pinned revisions. Skips local and meta repos. Strips
the protocol from repo URLs (e.g. github.com/psf/black).
prek is a Rust reimplementation of pre-commit that uses a TOML config
format. Same ecosystem, same plugins, different file format.
@andrew andrew merged commit d5f4456 into main Mar 11, 2026
2 checks passed
@andrew andrew deleted the add-pre-commit-parser branch March 11, 2026 15:29
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