Skip to content

Commit

Permalink
isort.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedrow committed Dec 8, 2019
1 parent b337065 commit cf82930
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions celery/backends/dynamodb.py
Expand Up @@ -10,6 +10,7 @@
from celery.exceptions import ImproperlyConfigured
from celery.five import string
from celery.utils.log import get_logger

from .base import KeyValueStoreBackend

try:
Expand Down
1 change: 1 addition & 0 deletions celery/backends/redis.py
Expand Up @@ -19,6 +19,7 @@
from celery.utils.functional import dictfilter
from celery.utils.log import get_logger
from celery.utils.time import humanize_seconds

from .asynchronous import AsyncBackendMixin, BaseResultConsumer
from .base import BaseKeyValueStoreBackend

Expand Down
2 changes: 1 addition & 1 deletion celery/concurrency/thread.py
Expand Up @@ -3,8 +3,8 @@
from __future__ import absolute_import, unicode_literals

import sys
from concurrent.futures import ThreadPoolExecutor, wait

from concurrent.futures import wait, ThreadPoolExecutor
from .base import BasePool, apply_target

__all__ = ('TaskPool',)
Expand Down
3 changes: 1 addition & 2 deletions celery/utils/__init__.py
Expand Up @@ -9,8 +9,7 @@
from kombu.utils.objects import cached_property
from kombu.utils.uuid import uuid

from .functional import chunks, noop
from .functional import memoize
from .functional import chunks, memoize, noop
from .imports import gen_task_name, import_from_cwd, instantiate
from .imports import qualname as get_full_cls_name
from .imports import symbol_by_name as get_cls_by_name
Expand Down
1 change: 1 addition & 0 deletions celery/utils/log.py
Expand Up @@ -16,6 +16,7 @@
from kombu.utils.encoding import safe_str

from celery.five import string_t, text_t

from .term import colored

__all__ = (
Expand Down
3 changes: 2 additions & 1 deletion t/integration/test_canvas.py
Expand Up @@ -8,8 +8,9 @@

from celery import chain, chord, group, signature
from celery.backends.base import BaseKeyValueStoreBackend
from celery.exceptions import TimeoutError, ChordError
from celery.exceptions import ChordError, TimeoutError
from celery.result import AsyncResult, GroupResult, ResultSet

from .conftest import get_active_redis_channels, get_redis_connection
from .tasks import (ExpectedException, add, add_chord_to_chord, add_replaced,
add_to_all, add_to_all_to_chord, build_chain_inside_task,
Expand Down
3 changes: 2 additions & 1 deletion t/integration/test_tasks.py
Expand Up @@ -5,7 +5,8 @@
from celery import group

from .conftest import get_active_redis_channels
from .tasks import add, add_ignore_result, print_unicode, retry_once, retry_once_priority, sleeping
from .tasks import (add, add_ignore_result, print_unicode, retry_once,
retry_once_priority, sleeping)


class test_tasks:
Expand Down
1 change: 1 addition & 0 deletions t/unit/concurrency/test_thread.py
@@ -1,6 +1,7 @@
from __future__ import absolute_import, unicode_literals

import operator

import pytest

from celery.utils.functional import noop
Expand Down

0 comments on commit cf82930

Please sign in to comment.