summaryrefslogtreecommitdiff
path: root/mesonbuild/modules/__init__.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-09-30 15:50:35 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-11-01 12:24:25 -0700
commit09a1528ce0897e21c2cae1f6fd9772ce2b30cd55 (patch)
tree65606cc84e6948d8c17541d8bcd80451aae079a5 /mesonbuild/modules/__init__.py
parent7f8961897a52c13a66d692d6085a8f01c1eae509 (diff)
downloadmeson-09a1528ce0897e21c2cae1f6fd9772ce2b30cd55.tar.gz
modules: remove harmful forwarding init methods
There is no reason for these inititializers to exist, all they do is defer to the parent initializer. Worse, since they are not type annotated thy prevent the parent type annotations from being used
Diffstat (limited to 'mesonbuild/modules/__init__.py')
-rw-r--r--mesonbuild/modules/__init__.py15
1 files changed, 5 insertions, 10 deletions
diff --git a/mesonbuild/modules/__init__.py b/mesonbuild/modules/__init__.py
index d09fa865c..bd62b6e77 100644
--- a/mesonbuild/modules/__init__.py
+++ b/mesonbuild/modules/__init__.py
@@ -198,21 +198,16 @@ class ModuleReturnValue:
self.new_objects = new_objects
class GResourceTarget(build.CustomTarget):
- def __init__(self, name, subdir, subproject, kwargs):
- super().__init__(name, subdir, subproject, kwargs)
+ pass
class GResourceHeaderTarget(build.CustomTarget):
- def __init__(self, name, subdir, subproject, kwargs):
- super().__init__(name, subdir, subproject, kwargs)
+ pass
class GirTarget(build.CustomTarget):
- def __init__(self, name, subdir, subproject, kwargs):
- super().__init__(name, subdir, subproject, kwargs)
+ pass
class TypelibTarget(build.CustomTarget):
- def __init__(self, name, subdir, subproject, kwargs):
- super().__init__(name, subdir, subproject, kwargs)
+ pass
class VapiTarget(build.CustomTarget):
- def __init__(self, name, subdir, subproject, kwargs):
- super().__init__(name, subdir, subproject, kwargs)
+ pass