meson/mesonbuild/cmake
Eli Schwartz 90ce084144
treewide: automatic rewriting of all comment-style type annotations
Performed using https://github.com/ilevkivskyi/com2ann

This has no actual effect on the codebase as type checkers (still)
support both and negligible effect on runtime performance since
__future__ annotations ameliorates that. Technically, the bytecode would
be bigger for non function-local annotations, of which we have many
either way.

So if it doesn't really matter, why do a large-scale refactor? Simple:
because people keep wanting to, but it's getting nickle-and-dimed. If
we're going to do this we might as well do it consistently in one shot,
using tooling that guarantees repeatability and correctness.

Repeat with:

```
com2ann mesonbuild/
```
2023-08-11 13:41:03 -04:00
..
data port from embedded data to importlib.resources 2022-01-10 18:36:57 -05:00
__init__.py WIP: cmake: do not re-export unused top-level objects 2023-06-26 13:10:33 -04:00
common.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
executor.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
fileapi.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
generator.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
interpreter.py micro-optimize: define typing-only objects in TYPE_CHECKING 2023-02-01 17:01:30 -05:00
toolchain.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
traceparser.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
tracetargets.py cmake: find dependencies with bare library names on all platforms 2023-07-19 15:04:09 -07:00