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/environments.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gitlab/v4/objects/environments.py') diff --git a/gitlab/v4/objects/environments.py b/gitlab/v4/objects/environments.py index 35f2fb2..85f1f90 100644 --- a/gitlab/v4/objects/environments.py +++ b/gitlab/v4/objects/environments.py @@ -2,10 +2,10 @@ from typing import Any, cast, Dict, Union import requests -from gitlab import cli -from gitlab import exceptions as exc -from gitlab.base import RequiredOptional, RESTManager, RESTObject -from gitlab.mixins import ( +from ... import cli +from ... import exceptions as exc +from ...base import RequiredOptional, RESTManager, RESTObject +from ...mixins import ( CreateMixin, DeleteMixin, ObjectDeleteMixin, -- cgit v1.2.1