mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-23 12:40:42 +08:00
Merge pull request #545 from LAION-AI/amend-contributing-to-pre-commit-url
added pre-commit guides and purposely did not run pre-commit
This commit is contained in:
+4
-2
@@ -96,8 +96,10 @@ The website is built using Next.js and is in the `website` folder.
|
||||
|
||||
### Pre-commit
|
||||
|
||||
Install `pre-commit` and run `pre-commit install` to install the pre-commit
|
||||
hooks.
|
||||
We are using `pre-commit` to enforce code style and formatting.
|
||||
|
||||
Install `pre-commit` from [its website](https://pre-commit.com) and run
|
||||
`pre-commit install` to install the pre-commit hooks.
|
||||
|
||||
In case you haven't done this, have already committed, and CI is failing, you
|
||||
can run `pre-commit run --all-files` to run the pre-commit hooks on all files.
|
||||
|
||||
Reference in New Issue
Block a user