Debian Codegraph @

.pre-commit-config.yaml

raw symbols SCIP
1 # See https://pre-commit.com for more information
2 # See https://pre-commit.com/hooks.html for more hooks
3 repos:
4
5 - repo: https://github.com/asottile/pyupgrade
6 rev: v3.15.0
7 hooks:
8 - id: pyupgrade
9 args: ["--py38-plus"]
10
11 - repo: https://github.com/adamchainz/django-upgrade
12 rev: 1.15.0
13 hooks:
14 - id: django-upgrade
15 args: ["--target-version", "3.0"]
16
17 - repo: https://github.com/astral-sh/ruff-pre-commit
18 rev: v0.1.6
19 hooks:
20 - id: ruff
21 args: [--fix, --exit-non-zero-on-fix]
22
23 - repo: https://github.com/pycqa/isort
24 rev: 5.12.0
25 hooks:
26 - id: isort
27 args: ["--profile", "black"]
28
29 - repo: https://github.com/psf/black
30 rev: 23.11.0
31 hooks:
32 - id: black
33
34 - repo: https://github.com/pre-commit/pre-commit-hooks
35 rev: v4.5.0
36 hooks:
37 - id: fix-encoding-pragma
38 args: [--remove]
39 - id: trailing-whitespace
40 - id: end-of-file-fixer
41 - id: check-yaml
42 - id: check-added-large-files