From d617dc6869bcd5afcd784ff39cc5b6597b1912a2 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 9 Apr 2024 09:50:13 -0700 Subject: 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`. --- run_mypy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run_mypy.py') 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', -- cgit v1.2.3