diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2024-04-09 09:50:13 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-04-09 12:27:39 -0700 |
| commit | d617dc6869bcd5afcd784ff39cc5b6597b1912a2 (patch) | |
| tree | 852289f5450f09b62fe362729d45bec5969e2444 /run_mypy.py | |
| parent | ef2b164f1f6b6597b48ea34ef897f6a303499620 (diff) | |
| download | meson-d617dc6869bcd5afcd784ff39cc5b6597b1912a2.tar.gz | |
modules: rename qt.py -> _qt.py
Since it's an implementation detail, and shouldn't be exposed. This also
helps give better error messages when a user writes `import('qt')`,
since otherwise you get an error about `qt doesn't have an initialize
method`, and now you get `qt module doesn't exist`.
Diffstat (limited to 'run_mypy.py')
| -rwxr-xr-x | run_mypy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_mypy.py b/run_mypy.py index f1976226b..35a90e8e9 100755 --- a/run_mypy.py +++ b/run_mypy.py @@ -62,7 +62,7 @@ modules = [ 'mesonbuild/modules/keyval.py', 'mesonbuild/modules/modtest.py', 'mesonbuild/modules/pkgconfig.py', - 'mesonbuild/modules/qt.py', + 'mesonbuild/modules/_qt.py', 'mesonbuild/modules/qt4.py', 'mesonbuild/modules/qt5.py', 'mesonbuild/modules/qt6.py', |
