diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-14 00:42:26 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-07-03 14:11:31 -0400 |
commit | 0703ee0aef68e235c1e22d6448b79dfbbb5c8039 (patch) | |
tree | 0f7ba031362d926b726852d2070ecc8377bdb5bd /mesonbuild/build.py | |
parent | 46148f923b196e1b1d004e68d43edc2daca4dd25 (diff) | |
download | meson-0703ee0aef68e235c1e22d6448b79dfbbb5c8039.zip meson-0703ee0aef68e235c1e22d6448b79dfbbb5c8039.tar.gz meson-0703ee0aef68e235c1e22d6448b79dfbbb5c8039.tar.bz2 |
move various unused typing-only imports into type-checking blocks
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index c987840..8655507 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -39,18 +39,19 @@ from .mesonlib import ( MesonBugException ) from .compilers import ( - Compiler, is_object, clink_langs, sort_clink, lang_suffixes, all_languages, + is_object, clink_langs, sort_clink, lang_suffixes, all_languages, is_known_suffix, detect_static_linker ) -from .linkers import StaticLinker from .interpreterbase import FeatureNew, FeatureDeprecated if T.TYPE_CHECKING: from typing_extensions import Literal from ._typing import ImmutableListProtocol from .backend.backends import Backend, ExecutableSerialisation + from .compilers import Compiler from .interpreter.interpreter import Test, SourceOutputs, Interpreter from .interpreterbase import SubProject + from .linkers import StaticLinker from .mesonlib import FileMode, FileOrString from .modules import ModuleState from .mparser import BaseNode |