aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreterbase/interpreterbase.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-10-26 19:45:32 -0400
committerXavier Claessens <xclaesse@gmail.com>2021-10-27 09:51:52 -0400
commitf4b91c4306b68c200a54a53ba872903eed2fcd18 (patch)
tree5375cdca6d768eba2e6bc9b2b170f53a6010859b /mesonbuild/interpreterbase/interpreterbase.py
parent894735288920816b9ad668ca27ce2e013a3f2640 (diff)
downloadmeson-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/interpreterbase/interpreterbase.py')
-rw-r--r--mesonbuild/interpreterbase/interpreterbase.py4
1 files changed, 1 insertions, 3 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[