Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

isort: Treat tc_aws and thumbor as third-party.

Anders Kaseorg78ed60216013
diff --git a/.isort.cfg b/.isort.cfg
index a58ddc8a8d4..3abd607e757 100644
--- a/.isort.cfg
+++ b/.isort.cfg
@@ -1,6 +1,6 @@
[settings]
multi_line_output = 3
-known_third_party = netifaces
+known_third_party = netifaces, tc_aws, thumbor
include_trailing_comma = True
use_parentheses = True
line_length = 100
diff --git a/zthumbor/loaders/zloader.py b/zthumbor/loaders/zloader.py
index 74f694273a4..27080c9ec5e 100644
--- a/zthumbor/loaders/zloader.py
+++ b/zthumbor/loaders/zloader.py
@@ -6,11 +6,10 @@ import logging
from typing import Any, Callable
from six.moves import urllib
-from tornado.concurrent import return_future
-
from tc_aws.loaders import s3_loader
from thumbor.context import Context
from thumbor.loaders import LoaderResult, file_loader, https_loader
+from tornado.concurrent import return_future
from .helpers import (
THUMBOR_EXTERNAL_TYPE,