diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2024-08-30 10:52:17 -0700 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-02-05 17:45:38 +0200 |
| commit | 164a18d84f4543669e5cab75490ff3629aa961d4 (patch) | |
| tree | 1990714a4246e172872fa97e545d0d9598c01315 /run_mypy.py | |
| parent | ba3460eb11bbceaf4fef7352bf286cf27184c99a (diff) | |
| download | meson-164a18d84f4543669e5cab75490ff3629aa961d4.tar.gz | |
options: fix typing of add_to_argparse
Which wants a string, but then passes that string to a function that
wants an OptionKey, which means that we'll always miss the lookup in
BULITIN_DIR_NOPREFIX_OPTIONS, and return the default. The only case this
gets used we cast an OptionKey to str, and then pass that. So instead,
do the cast inside the function when necessary and pass the OptionKey
Diffstat (limited to 'run_mypy.py')
0 files changed, 0 insertions, 0 deletions
