-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Pre-commit #448
Pre-commit #448
Conversation
The documentation is not available anymore as the PR was closed or merged. |
Can you elaborate how to use it in a workflow? Can you register this as a git hook or would you run it manually? |
There are two workflows to use it
|
Sounds good to me. What to you think about adding What do you think @younesbelkada ? |
the changes sounds good, I also agree we should add something in the lines that @lvwerra mentioned on the Makefile |
@lvwerra @younesbelkada good idea! Done with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @vwxyzjn !
You can reproduce the existing pipeline with
pre-commit run --all-files
(note that pre-commit however only applies to git's staged and already committed files). I didn't fix the typo pointed out bycodespell
because it might create too many merge conflicts with existing PRs.