31,003
edits
mNo edit summary Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 121: | Line 121: | ||
https://github.com/Dolibarr/dolibarr/tree/develop/dev/setup/pre-commit | https://github.com/Dolibarr/dolibarr/tree/develop/dev/setup/pre-commit | ||
In summarize: | |||
sudo apt install python3 | |||
sudo apt install pip | |||
sudo pip install --user pre-commit --break-system-packages | |||
Such hooks will work when using git on command line but may also work when committing using your common IDE (it has been validated with Eclipse and VSC). | Such hooks will work when using git on command line but may also work when committing using your common IDE (it has been validated with Eclipse and VSC). | ||