diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-26 19:45:32 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-10-27 09:51:52 -0400 |
commit | f4b91c4306b68c200a54a53ba872903eed2fcd18 (patch) | |
tree | 5375cdca6d768eba2e6bc9b2b170f53a6010859b /mesonbuild/mlog.py | |
parent | 894735288920816b9ad668ca27ce2e013a3f2640 (diff) | |
download | meson-f4b91c4306b68c200a54a53ba872903eed2fcd18.zip meson-f4b91c4306b68c200a54a53ba872903eed2fcd18.tar.gz meson-f4b91c4306b68c200a54a53ba872903eed2fcd18.tar.bz2 |
Revert "mark a couple of typing-only imports as noqa, to appease pyflakes"
This reverts commit 6cc1b8441c0cf7428e52bdf1cd541ea830a4eb83.
The latest version of pyflakes learned to detect that correctly.
Diffstat (limited to 'mesonbuild/mlog.py')
-rw-r--r-- | mesonbuild/mlog.py | 4 |
1 files changed, 1 insertions, 3 deletions
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, |