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.
pull/11879/head
Eli Schwartz 1 year ago
parent 0ea28fa637
commit f1a58a3ee6
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 4
      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

Loading…
Cancel
Save