diff options
-rw-r--r-- | mesonbuild/interpreterbase/interpreterbase.py | 4 | ||||
-rw-r--r-- | mesonbuild/mlog.py | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/mesonbuild/interpreterbase/interpreterbase.py b/mesonbuild/interpreterbase/interpreterbase.py index 555db3c..326204d 100644 --- a/mesonbuild/interpreterbase/interpreterbase.py +++ b/mesonbuild/interpreterbase/interpreterbase.py @@ -52,9 +52,7 @@ import typing as T import textwrap if T.TYPE_CHECKING: - # T.cast is not handled by flake8 to detect quoted annotation use - # see https://github.com/PyCQA/pyflakes/pull/632 - from ..interpreter import Interpreter # noqa + from ..interpreter import Interpreter HolderMapType = T.Dict[ T.Union[ diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py index 20d2817..60bc09e 100644 --- a/mesonbuild/mlog.py +++ b/mesonbuild/mlog.py @@ -22,9 +22,7 @@ from contextlib import contextmanager from pathlib import Path if T.TYPE_CHECKING: - # T.Union is not handled by flake8 to detect quoted annotation use (StringProtocol) - # see https://github.com/PyCQA/pyflakes/pull/632 - from ._typing import StringProtocol, SizedStringProtocol # noqa: F401 + from ._typing import StringProtocol, SizedStringProtocol """This is (mostly) a standalone module used to write logging information about Meson runs. Some output goes to screen, |