-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
45 lines (45 loc) · 1.34 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
default_language_version:
python: "python3"
exclude: "^.*\b(migrations)\b.*$"
repos:
- repo: "https://github.com/adamchainz/django-upgrade"
rev: "1.21.0"
hooks:
- id: "django-upgrade"
args: ['--target-version', '5.1']
- repo: "https://github.com/astral-sh/ruff-pre-commit"
rev: "v0.6.9"
hooks:
- id: "ruff"
args: ["--fix"]
- id: "ruff-format"
- repo: "https://github.com/pre-commit/mirrors-mypy"
rev: 'v1.11.2'
hooks:
- id: "mypy"
exclude: "src/.*/tests.py"
additional_dependencies:
- "django-stubs[compatible-mypy]"
- "django-stubs-ext"
- "types-requests"
- "dealer==2.1.0"
- "demoji==1.1.0"
- "django-allauth==0.61.1"
- "django-bootstrap5==23.4"
- "django-cors-headers==4.3.1"
- "django-guardian==2.4.0"
- "django-htmx==1.17.3"
- "django-ninja==1.1.0"
- "django-oauth-toolkit==2.3.0"
- "django-pictures==1.3.3"
- "django-polymorphic==3.1.0"
- "django-taggit==5.0.1"
- "environs[django]==11.0.0"
- "fontawesomefree==6.5.1"
- "orjson==3.9.15"
- "psycopg2-binary==2.9.9"
- "django-filter==24.2"
- "django-tables2==2.7.0"
- "django-debug-toolbar==4.1.0"
...