From f1a58a3ee648f1cab4f80ab3cea18f998e1a4012 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 14 Jun 2023 22:42:05 -0400 Subject: remove unnecessary typing comments Although they could be moved to annotations, the truth is that they are unneeded because they get inherited from the parent class. --- mesonbuild/interpreterbase/decorators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesonbuild/interpreterbase/decorators.py b/mesonbuild/interpreterbase/decorators.py index 214080d49..64e02c270 100644 --- a/mesonbuild/interpreterbase/decorators.py +++ b/mesonbuild/interpreterbase/decorators.py @@ -703,7 +703,7 @@ class FeatureNew(FeatureCheckBase): # Class variable, shared across all instances # # Format: {subproject: {feature_version: set(feature_names)}} - feature_registry = {} # type: T.ClassVar[T.Dict[str, T.Dict[str, T.Set[T.Tuple[str, T.Optional[mparser.BaseNode]]]]]] + feature_registry = {} @staticmethod def check_version(target_version: str, feature_version: str) -> bool: @@ -734,7 +734,7 @@ class FeatureDeprecated(FeatureCheckBase): # Class variable, shared across all instances # # Format: {subproject: {feature_version: set(feature_names)}} - feature_registry = {} # type: T.ClassVar[T.Dict[str, T.Dict[str, T.Set[T.Tuple[str, T.Optional[mparser.BaseNode]]]]]] + feature_registry = {} emit_notice = True @staticmethod -- cgit v1.2.3