Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#204)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
pre-commit-ci[bot] committed Feb 13, 2024
1 parent 6765a0a commit c9b13bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 24.1.1
rev: 24.2.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.2.0'
rev: 'v0.2.1'
hooks:
- id: ruff
- repo: https://github.com/econchick/interrogate
Expand All @@ -43,7 +43,7 @@ repos:
args:
- --py3-plus
- repo: https://github.com/adamchainz/django-upgrade
rev: "1.15.0"
rev: "1.16.0"
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]
Expand Down
2 changes: 1 addition & 1 deletion tests/example_app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
try:
from django.urls import reverse
except ImportError:
from django.core.urlresolvers import reverse
from django.urls import reverse


class Publisher(ModelMeta, models.Model):
Expand Down
2 changes: 1 addition & 1 deletion tests/example_app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
try:
from django.urls import reverse
except ImportError:
from django.core.urlresolvers import reverse
from django.urls import reverse


class PostDetailView(DetailView):
Expand Down

0 comments on commit c9b13bf

Please sign in to comment.