diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2024-09-03 15:46:03 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-09-06 11:41:06 -0700 |
| commit | ca5490f021338095e9339c78997dcabb6759f396 (patch) | |
| tree | e8e3c3d9b886d457016cf18a73a059e8be9a7af8 /run_mypy.py | |
| parent | 8b5e53b6547947d3560a2844dd1ec0a6137c885c (diff) | |
| download | meson-ca5490f021338095e9339c78997dcabb6759f396.tar.gz | |
machinefile: Make fully typesafe
With the use of `typing_extensions.TypeAlias` we can get recursive
types, which solves most of the issues we had with this file.
Diffstat (limited to 'run_mypy.py')
| -rwxr-xr-x | run_mypy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run_mypy.py b/run_mypy.py index f72e96b3d..7ed9720c0 100755 --- a/run_mypy.py +++ b/run_mypy.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +# Copyright © 2024 Intel Corporation from pathlib import Path import argparse @@ -38,6 +40,7 @@ modules = [ 'mesonbuild/interpreter/mesonmain.py', 'mesonbuild/interpreter/interpreterobjects.py', 'mesonbuild/interpreter/type_checking.py', + 'mesonbuild/machinefile.py', 'mesonbuild/mcompile.py', 'mesonbuild/mdevenv.py', 'mesonbuild/utils/core.py', |
