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: 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: v3.21.2
19 hooks:
20 - id: pyupgrade
21 args: [--py310-plus]
22 - repo: https://github.com/psf/black
23 rev: 26.3.1
24 hooks:
25 - id: black
26 - repo: https://github.com/pycqa/flake8
27 rev: 7.3.0
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: v1.36.4
35 hooks:
36 - id: djlint-jinja
37 files: "\\.html"
38 types_or: ['html']