diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8413abc..8955abc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,10 @@ repos: +- repo: https://github.com/Gepetto/gepetuto + rev: v1.0.0 + hooks: + - id: generate-action + - id: lint-action + - id: test-action - repo: https://github.com/PyCQA/isort rev: 5.12.0 hooks: diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index e01121e..bd6ebea 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,15 +1,15 @@ - id: generate-action - name: use the generate action on the repo - entry: gepetuto -a generate + name: generate-action + entry: gepetuto -a generate -f language: python description: Add snippet code in generated folder, add them in .ipynb file if written to load them. - id: lint-action - name: use the lint action on the repo - entry: gepetuto -a lint + name: lint-action + entry: gepetuto -a lint -f language: python description: Prevent from linting errors. - id: test-action - name: use the test action on the repo - entry: gepetuto -a test + name: test-action + entry: gepetuto -a test -f language: python description: Prevent from errors in python scripts.