meson/mesonbuild/scripts
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 Fix destdir_join 2022-06-26 17:18:26 -04:00
clangformat.py clangformat: don't noisily print status messages for every checked file 2023-02-23 01:31:51 -05:00
clangtidy.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
cleantrees.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
cmake_run_ctgt.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
cmd_or_ps.ps1 Fix cmd_or_ps.ps1 script with pwsh7 2022-09-21 18:32:51 -04:00
copy.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
coverage.py Fix html coverage report generation when using clang on linux 2023-04-25 23:48:56 -04:00
delwithsuffix.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
depfixer.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
depscan.py ninja depscanner: handle C++ sources named capital C 2022-07-25 16:59:41 -04:00
dirchanger.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
env2mfile.py treewide: internally avoid deprecated machine file uses of "pkgconfig" 2023-08-02 01:35:16 -04:00
externalproject.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
gettext.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
gtkdochelper.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
hotdochelper.py hotdoc: Install devhelp files at the right location 2023-03-16 10:36:33 -04:00
itstool.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
meson_exe.py meson_exe: print suitable debug information for DLL not found errors 2023-05-16 11:19:43 -04:00
msgfmthelper.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
pycompile.py bytecompile: switch to handling destdir in the script launcher env 2023-05-02 19:28:35 -04:00
python_info.py work around circular imports in python probe script 2023-02-24 20:45:00 -05:00
regen_checker.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
run_tool.py Fix run_tool() when git is not installed 2023-03-21 19:17:05 -04:00
scanbuild.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
symbolextractor.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
tags.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
test_loaded_modules.py Move classes used by scripts to their own module 2022-09-28 19:36:13 -04:00
uninstall.py treewide: add future annotations import 2023-02-01 17:01:30 -05:00
vcstagger.py pylint 2.16: remove pointless parens around equality assignments 2023-02-01 17:01:30 -05:00
yasm.py Add yasm as fallback for nasm language 2022-10-24 11:06:57 +02:00