Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 20, 2025
1 parent 82bedf8 commit e0c95d4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions kombu/transport/django_kombu/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Generated by Django 5.1.5 on 2025-01-20 13:39

from __future__ import annotations

import django.db.models.deletion
from django.db import migrations, models

Expand Down
1 change: 1 addition & 0 deletions kombu/transport/django_kombu/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from __future__ import annotations

from datetime import timedelta

from django.db import models
Expand Down
3 changes: 2 additions & 1 deletion kombu/transport/django_kombu/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
from django.db import transaction

from kombu.transport import virtual
from kombu.transport.django_kombu.models import Binding, Exchange, Message, Queue
from kombu.transport.django_kombu.models import (Binding, Exchange, Message,
Queue)

VERSION = (0, 0, 1)
__version__ = ".".join(map(str, VERSION))
Expand Down
3 changes: 2 additions & 1 deletion t/unit/transport/test_django.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

# Need to import after setting up Django
from kombu.transport.django_kombu.models import Binding # noqa: E402
from kombu.transport.django_kombu.models import Exchange, Message, Queue # noqa: E402
from kombu.transport.django_kombu.models import (Exchange, # noqa: E402
Message, Queue)


@pytest.fixture
Expand Down

0 comments on commit e0c95d4

Please sign in to comment.