warp-themes/.pre-commit-config.yaml
2021-12-23 11:54:23 -05:00

21 lines
593 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 # Use the ref you want to point at
hooks:
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: end-of-file-fixer
- id: no-commit-to-branch
args:
- "--branch=main"
- id: pretty-format-json
args:
- "--autofix"
- "--indent=2"
- "--top-keys=dev,beta,stable,changelogs,title,items"
- id: trailing-whitespace
- repo: https://github.com/ambv/black
rev: 21.12b0
hooks:
- id: black