summaryrefslogtreecommitdiff
path: root/gitlab/client.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-05-22 08:55:19 -0700
committerJohn L. Villalovos <john@sodarock.com>2021-05-25 11:54:51 -0700
commitf3afd34260d681bbeec974b67012b90d407b7014 (patch)
tree1e6131c02a5276abf26f72618ec0b0c86fd04ea2 /gitlab/client.py
parentdda646e8f2ecb733e37e6cffec331b783b64714e (diff)
downloadgitlab-f3afd34260d681bbeec974b67012b90d407b7014.tar.gz
chore: fix import ordering using isort
Fix the import ordering using isort. https://pycqa.github.io/isort/
Diffstat (limited to 'gitlab/client.py')
-rw-r--r--gitlab/client.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/gitlab/client.py b/gitlab/client.py
index 1fcda1e..fa9a394 100644
--- a/gitlab/client.py
+++ b/gitlab/client.py
@@ -17,17 +17,16 @@
"""Wrapper for the GitLab API."""
import time
-from typing import cast, Any, Dict, List, Optional, Tuple, TYPE_CHECKING, Union
+from typing import Any, cast, Dict, List, Optional, Tuple, TYPE_CHECKING, Union
import requests
import requests.utils
+from requests_toolbelt.multipart.encoder import MultipartEncoder # type: ignore
import gitlab.config
import gitlab.const
import gitlab.exceptions
from gitlab import utils
-from requests_toolbelt.multipart.encoder import MultipartEncoder # type: ignore
-
REDIRECT_MSG = (
"python-gitlab detected an http to https redirection. You "
@@ -385,7 +384,6 @@ class Gitlab(object):
def enable_debug(self) -> None:
import logging
-
from http.client import HTTPConnection # noqa
HTTPConnection.debuglevel = 1 # type: ignore