nummi/.pre-commit-config.yaml

32 lines
876 B
YAML
Raw Permalink Normal View History

2023-04-18 18:55:23 +02:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: no-commit-to-branch
args: ["--branch", "main"]
2023-04-18 18:55:23 +02:00
- 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
2025-01-01 14:56:29 +01:00
args: ["--reformat", "--lint", "--quiet"]
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"]