Skip to content

Add example of prek.toml configuration to README#156

Merged
ntBre merged 3 commits intoastral-sh:mainfrom
dunossauro:add-prek-example
Feb 11, 2026
Merged

Add example of prek.toml configuration to README#156
ntBre merged 3 commits intoastral-sh:mainfrom
dunossauro:add-prek-example

Conversation

@dunossauro
Copy link
Copy Markdown
Contributor

Summary

Add an example of prek.toml configuration to the README, showing how to use Ruff with prek instead of pre-commit.
The example mirrors the .pre-commit-config.yaml setup already in the docs.
Tried to keep it concise to avoid repeating information already explained in the pre-commit section.

Test Plan

No code changes; README only.
Reviewed formatting and consistency with existing README examples. Checked TOML syntax and comments.

closes #154

@dhruvmanila dhruvmanila requested a review from ntBre February 11, 2026 09:40
Copy link
Copy Markdown
Contributor

@ntBre ntBre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I'll apply the suggestions for a couple of nits, but this looks great! I also tested out the config and confirmed that it works well.

@ntBre ntBre added the documentation Improvements or additions to documentation label Feb 11, 2026
@ntBre ntBre merged commit 9619b35 into astral-sh:main Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add prek.toml example to docs?

2 participants