summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/snippets.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2022-01-03 22:11:46 -0800
committerJohn L. Villalovos <john@sodarock.com>2022-01-03 22:11:46 -0800
commit6b3e7c0f5f77baed94cc807b7087feaaf0fac121 (patch)
treea9d8d3b3f04b072e6707f775861e1835e94afc8d /gitlab/v4/objects/snippets.py
parent789122d5df9b4f39331e23c7fdb6e9021e7836cf (diff)
downloadgitlab-jlvillal/relative_imports.tar.gz
chore: convert to using relative importsjlvillal/relative_imports
Switch to using relative imports to ensure that we are importing from within our library. Also use the form: from foo import bar as bar When we want to signify that we want the import to be re-exported. https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-reexport
Diffstat (limited to 'gitlab/v4/objects/snippets.py')
-rw-r--r--gitlab/v4/objects/snippets.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/gitlab/v4/objects/snippets.py b/gitlab/v4/objects/snippets.py
index 66459c0..9b54b23 100644
--- a/gitlab/v4/objects/snippets.py
+++ b/gitlab/v4/objects/snippets.py
@@ -2,12 +2,11 @@ from typing import Any, Callable, cast, List, Optional, TYPE_CHECKING, Union
import requests
-from gitlab import cli
-from gitlab import exceptions as exc
-from gitlab import utils
-from gitlab.base import RequiredOptional, RESTManager, RESTObject, RESTObjectList
-from gitlab.mixins import CRUDMixin, ObjectDeleteMixin, SaveMixin, UserAgentDetailMixin
-
+from ... import cli
+from ... import exceptions as exc
+from ... import utils
+from ...base import RequiredOptional, RESTManager, RESTObject, RESTObjectList
+from ...mixins import CRUDMixin, ObjectDeleteMixin, SaveMixin, UserAgentDetailMixin
from .award_emojis import ProjectSnippetAwardEmojiManager # noqa: F401
from .discussions import ProjectSnippetDiscussionManager # noqa: F401
from .notes import ProjectSnippetNoteManager # noqa: F401