Custom pre-commit hooks. Repo copied from https://github.com/pre-commit/pre-commit-hooks
See also: https://github.com/pre-commit/pre-commit
Add this to your .pre-commit-config.yaml
- repo: https://github.com/scottgigante-immunai/pre-commit-hooks
rev: v0.3.2
hooks:
- id: check-case-insensitive-paths
- id: check-makefile
# args: ['--target=all', '--target=help']
Check makefile syntax
- Replaces leading spaces with tabs
- Runs
make --dry-run
to check syntax
Ensures that no two files or directories exist that would conflict in a case-insensitive filesystem.
If you'd like to use these hooks, they're also available as a standalone package.
Simply pip install git+https://github.com/scottgigante-immunai/pre-commit-hooks