[ADD] doc development: pre-commit guide
This commit is contained in:
parent
a66dd727fa
commit
d3d9aa189d
1 changed files with 7 additions and 0 deletions
|
|
@ -286,3 +286,10 @@ Use [prettier](https://github.com/prettier/prettier)
|
|||
```bash
|
||||
./script/maintenance/prettier.sh --tab-width 4 ./addons/TechnoLibre_odoo-code-generator
|
||||
```
|
||||
|
||||
# Pre-commit
|
||||
|
||||
You can install pre-commit to auto-format and check lint with OCA configuration. This
|
||||
will run before commit with git.
|
||||
|
||||
Check https://github.com/OCA/maintainer-tools/wiki/Install-pre-commit
|
||||
|
|
|
|||
Loading…
Reference in a new issue