Skip to content

Commit 0fc0b48

Browse files
pre-commit-ci[bot]diegocastrum
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cedccdf commit 0fc0b48

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

django_celery_results/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
ALLOW_EDITS = False
1111
pass
1212

13-
from .models.helpers import taskresult_model, groupresult_model
13+
from .models.helpers import groupresult_model, taskresult_model
1414

1515
GroupResult = groupresult_model()
1616
TaskResult = taskresult_model()

django_celery_results/models/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
from django.conf import settings
33
from django.core.exceptions import ImproperlyConfigured
44

5-
from .generic import TaskResult, GroupResult
5+
from .generic import GroupResult, TaskResult
6+
67

78
def taskresult_model():
89
"""Return the TaskResult model that is active in this project."""

django_celery_results/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
from collections.abc import Mapping
2+
13
from django.conf import settings
24
from django.core.exceptions import ImproperlyConfigured
3-
from collections.abc import Mapping
45

56

67
def get_callback_function(settings_name, default=None):

0 commit comments

Comments
 (0)