aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mlog.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/mlog.py')
-rw-r--r--mesonbuild/mlog.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py
index 06d8a0b..da9e2a5 100644
--- a/mesonbuild/mlog.py
+++ b/mesonbuild/mlog.py
@@ -22,7 +22,9 @@ from contextlib import contextmanager
from pathlib import Path
if T.TYPE_CHECKING:
- from ._typing import StringProtocol, SizedStringProtocol
+ # 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
"""This is (mostly) a standalone module used to write logging
information about Meson runs. Some output goes to screen,