nummi/.pre-commit-config.yaml

26 lines
668 B
YAML
Raw Normal View History

2023-04-18 18:55:23 +02:00
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
2023-04-20 17:24:01 +02:00
- repo: https://github.com/PyCQA/flake8
rev: "6.0.0"
hooks:
- id: flake8
args: ["--max-line-length=88", "--extend-ignore=E203"]
2023-04-18 19:01:41 +02:00
- repo: https://github.com/Riverside-Healthcare/djLint
2023-04-20 17:24:01 +02:00
rev: v1.23.3
2023-04-18 19:01:41 +02:00
hooks:
- id: djlint-django
args: ["--reformat"]
2023-04-18 19:51:15 +02:00
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.6"
hooks:
- id: prettier
2023-04-23 16:54:28 +02:00
types_or: ["css", "javascript", "svg"]