.pre-commit-config.yaml
exclude: '^$'
fail_fast: false
repos:
- repo: https://github.com/asottile/seed-isort-config
rev: v1.0.1
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.4
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.6
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.4.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-ast
- id: check-builtin-literals
- id: check-docstring-first
# - id: check-executables-have-shebangs # Doesn't work on windows
- id: check-merge-conflict
- id: check-json
- id: check-added-large-files
- id: check-yaml
# - id: double-quote-string-fixer
- id: debug-statements
- id: name-tests-test
args: ['--django']
- id: requirements-txt-fixer
# - id: flake8
- id: pretty-format-json
- id: sort-simple-yaml