File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -18,21 +18,21 @@ repos:
18
18
- id : trailing-whitespace
19
19
20
20
- repo : https://github.com/asottile/pyupgrade
21
- rev : v3.15.0
21
+ rev : v3.15.2
22
22
hooks :
23
23
- id : pyupgrade
24
24
args :
25
25
- " --py38-plus"
26
26
27
27
- repo : https://github.com/adamchainz/django-upgrade
28
- rev : 1.15 .0
28
+ rev : 1.16 .0
29
29
hooks :
30
30
- id : django-upgrade
31
31
args : [--target-version, "3.2"]
32
32
33
33
34
34
- repo : https://github.com/python-poetry/poetry
35
- rev : 1.6.1
35
+ rev : 1.8.0
36
36
hooks :
37
37
- id : poetry-check
38
38
additional_dependencies :
43
43
- id : poetry-export
44
44
45
45
- repo : https://github.com/astral-sh/ruff-pre-commit
46
- rev : v0.1.9
46
+ rev : v0.3.4
47
47
hooks :
48
48
- id : ruff-format
49
49
- id : ruff
Original file line number Diff line number Diff line change 1
1
"""
2
2
State tracking functionality for django models
3
3
"""
4
+
4
5
from __future__ import annotations
5
6
6
7
import inspect
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ target-version = "py38"
55
55
fix = true
56
56
57
57
[tool .ruff .lint ]
58
+
58
59
extend-select = [
59
60
" F" , # Pyflakes
60
61
" E" , # pycodestyle
@@ -65,7 +66,7 @@ extend-select = [
65
66
fixable = [" I" ]
66
67
67
68
68
- [tool .ruff .isort ]
69
+ [tool .ruff .lint . isort ]
69
70
force-single-line = true
70
71
required-imports = [" from __future__ import annotations" ]
71
72
Original file line number Diff line number Diff line change 11
11
"django.contrib.contenttypes" ,
12
12
"django.contrib.auth" ,
13
13
"guardian" ,
14
- ) + PROJECT_APPS
14
+ * PROJECT_APPS ,
15
+ )
15
16
16
17
AUTHENTICATION_BACKENDS = (
17
18
"django.contrib.auth.backends.ModelBackend" , # this is default
You can’t perform that action at this time.
0 commit comments