diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-06-14 22:42:05 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-06-14 23:12:09 -0400 |
commit | f1a58a3ee648f1cab4f80ab3cea18f998e1a4012 (patch) | |
tree | 337104fadae0f603196d6d2880360b949d737129 | |
parent | 0ea28fa63780b2b08ea4c1d4bc026065028c0aa0 (diff) | |
download | meson-f1a58a3ee648f1cab4f80ab3cea18f998e1a4012.zip meson-f1a58a3ee648f1cab4f80ab3cea18f998e1a4012.tar.gz meson-f1a58a3ee648f1cab4f80ab3cea18f998e1a4012.tar.bz2 |
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.
-rw-r--r-- | mesonbuild/interpreterbase/decorators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/interpreterbase/decorators.py b/mesonbuild/interpreterbase/decorators.py index 214080d..64e02c2 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 |