To check for errors: $ pre-commit run --all-files To install as pre-commit hook: $ pre-commit install