Adding a pre-commit hook to a GitHub Python repository helps ensure that certain checks are run before code is committed to the repository. This is useful for enforcing code style, running linters, and performing other pre-commit checks.
Look here for out of the box precommits: https://github.com/pre-commit/pre-commit-hooks/tree/main/pre_commit_hooks
Adding a pre-commit hook to a GitHub Python repository helps ensure that certain checks are run before code is committed to the repository. This is useful for enforcing code style, running linters, and performing other pre-commit checks.
Look here for out of the box precommits: https://github.com/pre-commit/pre-commit-hooks/tree/main/pre_commit_hooks