Closed AIGeneratedUsername closed 3 months ago
I never did this by myself, but I believe this is simple.
How to: https://pre-commit.com/#new-hooks
Here is Flake8 example: https://github.com/PyCQA/flake8/blob/main/.pre-commit-hooks.yaml
One more example: https://github.com/koyeung/ko-poetry-audit-plugin#installation
Do nothing. In such case, I will need to setup a mirror of your repository similar to a Mypy mirror https://github.com/pre-commit/mirrors-mypy Or just use another tool which supports pre-commit.
Done in https://github.com/opeco17/poetry-audit-plugin/pull/24
What
I never did this by myself, but I believe this is simple.
How to: https://pre-commit.com/#new-hooks
Here is Flake8 example: https://github.com/PyCQA/flake8/blob/main/.pre-commit-hooks.yaml
One more example: https://github.com/koyeung/ko-poetry-audit-plugin#installation
Alternatives
Do nothing.
In such case, I will need to setup a mirror of your repository similar to a Mypy mirror https://github.com/pre-commit/mirrors-mypy Or just use another tool which supports pre-commit.