summaryrefslogtreecommitdiff
path: root/run_mypy.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2024-04-09 09:50:13 -0700
committerDylan Baker <dylan@pnwbakers.com>2024-04-09 12:27:39 -0700
commitd617dc6869bcd5afcd784ff39cc5b6597b1912a2 (patch)
tree852289f5450f09b62fe362729d45bec5969e2444 /run_mypy.py
parentef2b164f1f6b6597b48ea34ef897f6a303499620 (diff)
downloadmeson-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-xrun_mypy.py2
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',