diff --git a/pylint/checkers/classes/special_methods_checker.py b/pylint/checkers/classes/special_methods_checker.py index cb714a787f..f232d86915 100644 --- a/pylint/checkers/classes/special_methods_checker.py +++ b/pylint/checkers/classes/special_methods_checker.py @@ -288,7 +288,6 @@ def _is_iterator(node): if isinstance(node, astroid.bases.Generator): # Generators can be iterated. return True - # TODO: 2.14: Should be covered by https://github.com/PyCQA/astroid/pull/1475 if isinstance(node, nodes.ComprehensionScope): # Comprehensions can be iterated. return True diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py index 3f267e33cb..39e47f73d9 100644 --- a/pylint/checkers/utils.py +++ b/pylint/checkers/utils.py @@ -1182,7 +1182,6 @@ def _supports_protocol( if protocol_callback(value): return True - # TODO: 2.14: Should be covered by https://github.com/PyCQA/astroid/pull/1475 if isinstance(value, nodes.ComprehensionScope): return True diff --git a/pylint/config/callback_actions.py b/pylint/config/callback_actions.py index c4aeb747b9..15bea574a6 100644 --- a/pylint/config/callback_actions.py +++ b/pylint/config/callback_actions.py @@ -261,7 +261,7 @@ def __call__( values: str | Sequence[Any] | None, option_string: str | None = "--generate-rcfile", ) -> None: - # TODO: 2.14: Deprecate this after discussion about this removal has been completed. + # TODO: 2.15: Deprecate this after discussion about this removal has been completed. with warnings.catch_warnings(): warnings.filterwarnings("ignore", category=DeprecationWarning) self.run.linter.generate_config(skipsections=("Commands",))