diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2023-06-30 11:18:27 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-07-25 15:50:21 -0400 |
commit | 3fdc877e8a971b3849784797dcc87045aefcd42a (patch) | |
tree | d6fa0c0b99a10a50f9eeef86e3196cf6167ada11 | |
parent | b0cd88ceae930b3ddc8165d43513141fa9486587 (diff) | |
download | meson-3fdc877e8a971b3849784797dcc87045aefcd42a.zip meson-3fdc877e8a971b3849784797dcc87045aefcd42a.tar.gz meson-3fdc877e8a971b3849784797dcc87045aefcd42a.tar.bz2 |
templates/samplefactory: move type checking only import to special block
Don't import things we don't actually need at runtime
-rw-r--r-- | mesonbuild/templates/samplefactory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/templates/samplefactory.py b/mesonbuild/templates/samplefactory.py index 5c91023..9c0c13e 100644 --- a/mesonbuild/templates/samplefactory.py +++ b/mesonbuild/templates/samplefactory.py @@ -26,10 +26,10 @@ from mesonbuild.templates.objctemplates import ObjCProject from mesonbuild.templates.cpptemplates import CppProject from mesonbuild.templates.cstemplates import CSharpProject from mesonbuild.templates.ctemplates import CProject -from mesonbuild.templates.sampleimpl import SampleImpl if T.TYPE_CHECKING: from ..minit import Arguments + from .sampleimpl import SampleImpl def sameple_generator(options: Arguments) -> SampleImpl: |