Skip to content

scottgigante-immunai/pre-commit-hooks

Repository files navigation

Build Status Azure DevOps coverage pre-commit.ci status

pre-commit-hooks

Custom pre-commit hooks. Repo copied from https://github.com/pre-commit/pre-commit-hooks

See also: https://github.com/pre-commit/pre-commit

Using pre-commit-hooks with 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']

Hooks available

check-makefile

Check makefile syntax

  • Replaces leading spaces with tabs
  • Runs make --dry-run to check syntax

check-case-insensitive-paths

Ensures that no two files or directories exist that would conflict in a case-insensitive filesystem.

As a standalone package

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

About

Custom hooks for pre-commit

Resources

License

Stars

Watchers

Forks

Packages

No packages published