lb-dev/lb-project-init: add support for projects using pre-commit
As discussed at Core Software Meeting, we will gradually migrate from custom sanity checks (e.g. formatting) scripts to pre-commit hooks.
-
lb-project-init
should implicitly callpre-commit install
if the project comes with a.pre-commit-config.yaml
-
lb-dev
should inherit the.pre-commit-config.yaml
from the main project (if it exists) and invokepre-commit install
if appropiate
Edited by Marco Clemencic