Created
April 6, 2019 00:39
-
-
Save guykisel/4393b32a084796fd38f5adf50ea5687e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We're using: | |
# Repository local hooks: https://pre-commit.com/#repository-local-hooks | |
# Plus vendored https://github.com/pre-commit/pre-commit-hooks | |
repos: | |
- repo: local | |
hooks: | |
- id: custom-pre-commit | |
name: custom-pre-commit | |
entry: run_python.sh gitstuff/hooks/pre_commit.py | |
language: system | |
types: [text] | |
- id: trailing-whitespace | |
name: trailing-whitespace | |
entry: run_python.sh -m pre_commit_hooks.trailing_whitespace_fixer | |
language: system | |
types: [text] | |
- id: end-of-file-fixer | |
name: end-of-file-fixer | |
entry: run_python.sh -m pre_commit_hooks.end_of_file_fixer | |
language: system | |
types: [text] | |
- id: check-json | |
name: check-json | |
entry: run_python.sh -m pre_commit_hooks.check_json | |
language: system | |
types: [json] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment