aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreterbase
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-08-10 20:51:45 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-08-11 13:37:17 -0400
commita01418db0a37908cc2504adbb0cf56d333348f9a (patch)
tree6463a2f91154092fd7f1aeeb72f744258daa6ff8 /mesonbuild/interpreterbase
parent03a2a3a6773785e087b296e9e6ff6791c6068f60 (diff)
downloadmeson-a01418db0a37908cc2504adbb0cf56d333348f9a.zip
meson-a01418db0a37908cc2504adbb0cf56d333348f9a.tar.gz
meson-a01418db0a37908cc2504adbb0cf56d333348f9a.tar.bz2
remove useless type annotations
These annotations all had a default initializer of the correct type, or a parent class annotation.
Diffstat (limited to 'mesonbuild/interpreterbase')
-rw-r--r--mesonbuild/interpreterbase/decorators.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/interpreterbase/decorators.py b/mesonbuild/interpreterbase/decorators.py
index cecdbfd..5bb8306 100644
--- a/mesonbuild/interpreterbase/decorators.py
+++ b/mesonbuild/interpreterbase/decorators.py
@@ -606,9 +606,9 @@ class FeatureCheckBase(metaclass=abc.ABCMeta):
unconditional = False
def __init__(self, feature_name: str, feature_version: str, extra_message: str = ''):
- self.feature_name = feature_name # type: str
- self.feature_version = feature_version # type: str
- self.extra_message = extra_message # type: str
+ self.feature_name = feature_name
+ self.feature_version = feature_version
+ self.extra_message = extra_message
@staticmethod
def get_target_version(subproject: str) -> str: