meson/mesonbuild/wrap
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
..
__init__.py Add wrap mode to disable auto promote 2020-10-13 17:55:16 -04:00
wrap.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
wraptool.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00