Set up pre-commit to automatically perform checks when you make git commits.
Install pre-commit hooks:
$ sudo apt install pre-commit
$ # Go to the top directory of this repository
$ pre-commit install
To run hooks on staged files, use:
$ pre-commit
To run hooks on all files, use:
$ pre-commit run --all-files