From 0703ee0aef68e235c1e22d6448b79dfbbb5c8039 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 14 Jun 2022 00:42:26 -0400 Subject: move various unused typing-only imports into type-checking blocks --- mesonbuild/compilers/objc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mesonbuild/compilers/objc.py') diff --git a/mesonbuild/compilers/objc.py b/mesonbuild/compilers/objc.py index 22a2012..bd358c3 100644 --- a/mesonbuild/compilers/objc.py +++ b/mesonbuild/compilers/objc.py @@ -11,11 +11,12 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations import typing as T from .. import coredata -from ..mesonlib import MachineChoice, OptionKey +from ..mesonlib import OptionKey from .compilers import Compiler from .mixins.clike import CLikeCompiler @@ -27,6 +28,7 @@ if T.TYPE_CHECKING: from ..envconfig import MachineInfo from ..environment import Environment from ..linkers import DynamicLinker + from ..mesonlib import MachineChoice class ObjCCompiler(CLikeCompiler, Compiler): -- cgit v1.1