Skip to content

Commit c9b13bf

Browse files
[pre-commit.ci] pre-commit autoupdate (#204)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.1.1 → 24.2.0](psf/black@24.1.1...24.2.0) - [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.2.1](astral-sh/ruff-pre-commit@v0.2.0...v0.2.1) - [github.com/adamchainz/django-upgrade: 1.15.0 → 1.16.0](adamchainz/django-upgrade@1.15.0...1.16.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 6765a0a commit c9b13bf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ repos:
2222
hooks:
2323
- id: isort
2424
- repo: https://github.com/psf/black
25-
rev: 24.1.1
25+
rev: 24.2.0
2626
hooks:
2727
- id: black
2828
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: 'v0.2.0'
29+
rev: 'v0.2.1'
3030
hooks:
3131
- id: ruff
3232
- repo: https://github.com/econchick/interrogate
@@ -43,7 +43,7 @@ repos:
4343
args:
4444
- --py3-plus
4545
- repo: https://github.com/adamchainz/django-upgrade
46-
rev: "1.15.0"
46+
rev: "1.16.0"
4747
hooks:
4848
- id: django-upgrade
4949
args: [--target-version, "3.2"]

tests/example_app/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
try:
1010
from django.urls import reverse
1111
except ImportError:
12-
from django.core.urlresolvers import reverse
12+
from django.urls import reverse
1313

1414

1515
class Publisher(ModelMeta, models.Model):

tests/example_app/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
try:
1212
from django.urls import reverse
1313
except ImportError:
14-
from django.core.urlresolvers import reverse
14+
from django.urls import reverse
1515

1616

1717
class PostDetailView(DetailView):

0 commit comments

Comments
 (0)