Files
django-template/.pre-commit-config.yaml
2021-04-07 10:10:19 +02:00

45 lines
1.2 KiB
YAML

fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-merge-conflict
- id: detect-private-key
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
- id: forbid-new-submodules
- id: mixed-line-ending
- id: trailing-whitespace
language: python
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.8.0 # Use the ref you want to point at
hooks:
- id: python-no-eval
- id: python-no-log-warn
- id: python-use-type-annotations
- repo: https://github.com/asottile/pyupgrade
rev: v2.11.0
hooks:
- id: pyupgrade
args: [--py310-plus]
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
language_version: python3.9
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
hooks:
- id: flake8
- repo: https://github.com/asottile/blacken-docs
rev: v1.10.0
hooks:
- id: blacken-docs
- repo: https://github.com/pre-commit/mirrors-scss-lint
rev: v0.59.0
hooks:
- id: scss-lint