Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Explicitly specify to add a new repo entry to the repos list item in the .pre-commit-config.yaml #10243

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

eva-mueller-coremedia
Copy link

Summary

When creating the .pre-commit-config.yaml from scratch, although following https://pre-commit.com/, it might be easy to overlook that the pre-commit repo examples need to be added below the repos list item to get a valid yaml file.

Additionally, updated the version of the first two examples.

Test Plan

I followed the CONTRIBUTING.md and the result looked fine.

…the .pre-commit-config.yaml

When starting a .pre-commit-config.yaml from scratch, the repos list entry is not present.
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