Debian Codegraph @

.pre-commit-config.yaml

raw
1 # See https://pre-commit.com for more information
2 # See https://pre-commit.com/hooks.html for more hooks
3 default_language_version:
4 python: python3.12
5 repos:
6 - repo: https://github.com/pre-commit/pre-commit-hooks
7 rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
8 hooks:
9 - id: trailing-whitespace
10 - id: debug-statements
11 - id: end-of-file-fixer
12 - id: check-yaml
13 - id: check-added-large-files
14 - id: check-case-conflict
15 - id: check-merge-conflict
16 - id: fix-byte-order-marker
17 - repo: https://github.com/asottile/pyupgrade
18 rev: 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2
19 hooks:
20 - id: pyupgrade
21 args: [--py310-plus]
22 - repo: https://github.com/psf/black
23 rev: 87928e6d6761a4a6d22250e1fee5601b3998086e # frozen: 26.5.1
24 hooks:
25 - id: black
26 - repo: https://github.com/pycqa/flake8
27 rev: cfbbfdeb2391c14a37e101e92a77f54f329e1726 # frozen: 7.4.1
28 hooks:
29 - id: flake8
30 additional_dependencies:
31 - flake8-bugbear
32 - flake8-implicit-str-concat
33 - repo: https://github.com/Riverside-Healthcare/djLint
34 rev: b8b8c45322b3f38e5933a8088991b0f0d8cd45c2 # frozen: v1.46.2
35 hooks:
36 - id: djlint-jinja
37 files: "\\.html"
38 types_or: ['html']