Skip to content

Commit db911fd

Browse files
authored
Update all TODO: 2.14 (#6573)
1 parent 2dfff17 commit db911fd

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

pylint/checkers/classes/special_methods_checker.py

-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ def _is_iterator(node):
288288
if isinstance(node, astroid.bases.Generator):
289289
# Generators can be iterated.
290290
return True
291-
# TODO: 2.14: Should be covered by https://github.com/PyCQA/astroid/pull/1475
292291
if isinstance(node, nodes.ComprehensionScope):
293292
# Comprehensions can be iterated.
294293
return True

pylint/checkers/utils.py

-1
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,6 @@ def _supports_protocol(
11821182
if protocol_callback(value):
11831183
return True
11841184

1185-
# TODO: 2.14: Should be covered by https://github.com/PyCQA/astroid/pull/1475
11861185
if isinstance(value, nodes.ComprehensionScope):
11871186
return True
11881187

pylint/config/callback_actions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def __call__(
261261
values: str | Sequence[Any] | None,
262262
option_string: str | None = "--generate-rcfile",
263263
) -> None:
264-
# TODO: 2.14: Deprecate this after discussion about this removal has been completed.
264+
# TODO: 2.15: Deprecate this after discussion about this removal has been completed.
265265
with warnings.catch_warnings():
266266
warnings.filterwarnings("ignore", category=DeprecationWarning)
267267
self.run.linter.generate_config(skipsections=("Commands",))

0 commit comments

Comments
 (0)