Skip to content

➕ Replace pre-commit by prek#12

Open
pierrocknroll wants to merge 2 commits intomainfrom
prek
Open

➕ Replace pre-commit by prek#12
pierrocknroll wants to merge 2 commits intomainfrom
prek

Conversation

@pierrocknroll
Copy link
Copy Markdown
Contributor

@pierrocknroll pierrocknroll commented Mar 30, 2026

The only thing to note here is that prek runs in "workspace" mode and runs every "pre-commit-config.yaml" file it finds, so it tried to run the one in the "template" folder, which caused errors since the project isn't generated yet. I wanted it to run the checks from the root "pre-commit-config.yaml" on all files, including those in "template." To achieve this, I renamed "pre-commit-config.yaml" to "pre-commit-config.yaml. jinja" in the "template" folder.

@pierrocknroll pierrocknroll self-assigned this Mar 30, 2026
Copy link
Copy Markdown
Collaborator

@thoumasse thoumasse left a comment

Choose a reason for hiding this comment

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

RAS

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.

2 participants