meson/mesonbuild/ast
Eli Schwartz a009eacc65
treewide: string-quote the first argument to T.cast
Using future annotations, type annotations become strings at runtime and
don't impact performance. This is not possible to do with T.cast though,
because it is a function argument instead of an annotation.

Quote the type argument everywhere in order to have the same effect as
future annotations. This also allows linters to better detect in some
cases that a given import is typing-only.
2022-03-07 19:01:04 -05:00
..
__init__.py ast: Add AST JSON printer 2020-05-23 18:13:16 +02:00
interpreter.py treewide: string-quote the first argument to T.cast 2022-03-07 19:01:04 -05:00
introspection.py pylint: turn on superflous-parens 2021-08-31 16:28:54 -04:00
postprocess.py typing: completely type ast 2020-09-08 20:15:55 +02:00
printer.py ast: Add dummy "support" for fstrings in the ast package 2021-07-25 21:36:52 +03:00
visitor.py ast: Add dummy "support" for fstrings in the ast package 2021-07-25 21:36:52 +03:00