Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bassdread
Created June 28, 2018 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bassdread/15f4dd8c830a1d151774acf7d8d9efc9 to your computer and use it in GitHub Desktop.
Save bassdread/15f4dd8c830a1d151774acf7d8d9efc9 to your computer and use it in GitHub Desktop.
Example .pre-commit-config.yaml
# See http://pre-commit.com for more information
# See http://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v0.9.2
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: debug-statements
- id: double-quote-string-fixer
- id: requirements-txt-fixer
- id: flake8
- id: pretty-format-json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment