From 6b3e7c0f5f77baed94cc807b7087feaaf0fac121 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Mon, 3 Jan 2022 22:11:46 -0800 Subject: chore: convert to using 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 --- gitlab/v4/objects/features.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gitlab/v4/objects/features.py') diff --git a/gitlab/v4/objects/features.py b/gitlab/v4/objects/features.py index 2e92596..7c843df 100644 --- a/gitlab/v4/objects/features.py +++ b/gitlab/v4/objects/features.py @@ -4,10 +4,10 @@ https://docs.gitlab.com/ee/api/features.html """ from typing import Any, Optional, TYPE_CHECKING, Union -from gitlab import exceptions as exc -from gitlab import utils -from gitlab.base import RESTManager, RESTObject -from gitlab.mixins import DeleteMixin, ListMixin, ObjectDeleteMixin +from ... import exceptions as exc +from ... import utils +from ...base import RESTManager, RESTObject +from ...mixins import DeleteMixin, ListMixin, ObjectDeleteMixin __all__ = [ "Feature", -- cgit v1.2.1