1
1
exclude : ' ^docs/|/migrations/'
2
- default_stages : [commit]
2
+ default_stages : [pre- commit]
3
3
4
4
repos :
5
5
- repo : https://github.com/pre-commit/pre-commit-hooks
6
- rev : v4.5 .0
6
+ rev : v5.0 .0
7
7
hooks :
8
8
- id : check-docstring-first
9
9
- id : check-merge-conflict
@@ -42,26 +42,26 @@ repos:
42
42
args : ['--prose-wrap=never', '--tab-width', '2', '--single-quote'] # Following django-cookiecutter
43
43
44
44
- repo : https://github.com/python-poetry/poetry
45
- rev : 1.7.0
45
+ rev : 2.0.1
46
46
hooks :
47
47
- id : poetry-check
48
48
- id : poetry-lock
49
49
args : ['--check', '--no-update']
50
50
51
51
- repo : https://github.com/adamchainz/django-upgrade
52
- rev : ' 1.15.0 '
52
+ rev : ' 1.22.2 '
53
53
hooks :
54
54
- id : django-upgrade
55
55
args : ['--target-version', '4.2']
56
56
57
57
- repo : https://github.com/asottile/pyupgrade
58
- rev : v3.15.0
58
+ rev : v3.19.1
59
59
hooks :
60
60
- id : pyupgrade
61
61
args : [--py311-plus]
62
62
63
63
- repo : https://github.com/hadialqattan/pycln
64
- rev : v2.4 .0
64
+ rev : v2.5 .0
65
65
hooks :
66
66
- id : pycln
67
67
args : [--config=pyproject.toml]
@@ -72,12 +72,12 @@ repos:
72
72
- id : isort
73
73
74
74
- repo : https://github.com/psf/black
75
- rev : 23.12.1
75
+ rev : 24.10.0
76
76
hooks :
77
77
- id : black
78
78
79
79
- repo : https://github.com/pycqa/flake8
80
- rev : 6 .1.0
80
+ rev : 7 .1.1
81
81
hooks :
82
82
- id : flake8
83
83
additional_dependencies :
@@ -98,21 +98,21 @@ repos:
98
98
args : [--in-place, --config, ./pyproject.toml]
99
99
100
100
- repo : https://github.com/PyCQA/bandit
101
- rev : 1.7.6
101
+ rev : 1.8.2
102
102
hooks :
103
103
- id : bandit
104
104
args : [-c, pyproject.toml]
105
105
additional_dependencies : ['bandit[toml]']
106
106
107
107
- repo : https://github.com/Riverside-Healthcare/djLint
108
- rev : v1.34.1
108
+ rev : v1.36.4
109
109
hooks :
110
110
- id : djlint-reformat-django
111
111
args : ['--configuration', './pyproject.toml']
112
112
- id : djlint-django
113
113
114
114
- repo : https://github.com/pre-commit/mirrors-mypy
115
- rev : v1.8.0
115
+ rev : v1.14.1
116
116
hooks :
117
117
- id : mypy
118
118
args : [--config-file, ./pyproject.toml]
0 commit comments