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:
1818 - id : trailing-whitespace
1919
2020 - repo : https://github.com/asottile/pyupgrade
21- rev : v3.15.0
21+ rev : v3.15.2
2222 hooks :
2323 - id : pyupgrade
2424 args :
2525 - " --py38-plus"
2626
2727 - repo : https://github.com/adamchainz/django-upgrade
28- rev : 1.15 .0
28+ rev : 1.16 .0
2929 hooks :
3030 - id : django-upgrade
3131 args : [--target-version, "3.2"]
3232
3333
3434 - repo : https://github.com/python-poetry/poetry
35- rev : 1.6.1
35+ rev : 1.8.0
3636 hooks :
3737 - id : poetry-check
3838 additional_dependencies :
4343 - id : poetry-export
4444
4545 - repo : https://github.com/astral-sh/ruff-pre-commit
46- rev : v0.1.9
46+ rev : v0.3.4
4747 hooks :
4848 - id : ruff-format
4949 - id : ruff
Original file line number Diff line number Diff line change 11"""
22State tracking functionality for django models
33"""
4+
45from __future__ import annotations
56
67import inspect
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ target-version = "py38"
5555fix = true
5656
5757[tool .ruff .lint ]
58+
5859extend-select = [
5960 " F" , # Pyflakes
6061 " E" , # pycodestyle
@@ -65,7 +66,7 @@ extend-select = [
6566fixable = [" I" ]
6667
6768
68- [tool .ruff .isort ]
69+ [tool .ruff .lint . isort ]
6970force-single-line = true
7071required-imports = [" from __future__ import annotations" ]
7172
Original file line number Diff line number Diff line change 1111 "django.contrib.contenttypes" ,
1212 "django.contrib.auth" ,
1313 "guardian" ,
14- ) + PROJECT_APPS
14+ * PROJECT_APPS ,
15+ )
1516
1617AUTHENTICATION_BACKENDS = (
1718 "django.contrib.auth.backends.ModelBackend" , # this is default
You can’t perform that action at this time.
0 commit comments