Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.