# useful-pre-commits bunch of pre-commit hooks with pre-commit python package There are links on originally repositories: - https://github.com/pre-commit/pre-commit-hooks - original repo python package built-in hooks - https://github.com/commitizen-tools/commitizen - to lint gitmessage - to use need to do `pre-commit install --hook-type commit-msg` - https://github.com/jorisroovers/gitlint - the same - https://gitlab.com/pycqa/flake8 - to check code style - https://github.com/pre-commit/mirrors-autopep8 - the same - https://github.com/asottile/pyupgrade - to check new versions of hooks - https://github.com/asottile/reorder_python_imports - to sort imports - https://github.com/asottile/add-trailing-comma - to add trailing comma - https://github.com/pre-commit/mirrors-mypy - to lint code and typings with mypy linter - https://github.com/thoughtworks/talisman/ - to check secrets in commits - may to be installed locally or used as usually