Browse Source

Fix isort errors (#4504)

Xavier Hardy 7 years ago
parent
commit
4c8efed81c
3 changed files with 1 additions and 3 deletions
  1. 0 1
      celery/bin/migrate.py
  2. 1 1
      celery/utils/deprecated.py
  3. 0 1
      t/unit/tasks/test_result.py

+ 0 - 1
celery/bin/migrate.py

@@ -3,7 +3,6 @@ from __future__ import absolute_import, unicode_literals
 
 from celery.bin.base import Command
 
-
 MIGRATE_PROGRESS_FMT = """\
 Migrating task {state.count}/{state.strtotal}: \
 {body[task]}[{body[id]}]\

+ 1 - 1
celery/utils/deprecated.py

@@ -54,7 +54,7 @@ def Callable(deprecation=None, removal=None,
 
         @wraps(fun)
         def __inner(*args, **kwargs):
-            from .imports import qualname
+            from . imports import qualname
             warn(description=description or qualname(fun),
                  deprecation=deprecation,
                  removal=removal,

+ 0 - 1
t/unit/tasks/test_result.py

@@ -16,7 +16,6 @@ from celery.result import (AsyncResult, EagerResult, GroupResult, ResultSet,
                            assert_will_not_block, result_from_tuple)
 from celery.utils.serialization import pickle
 
-
 PYTRACEBACK = """\
 Traceback (most recent call last):
   File "foo.py", line 2, in foofunc