Skip to content

Commit 1f2cf71

Browse files
Upgrade TODO for pylint 2.X to pylint 3.0 (#8480)
Closes #8335
1 parent d64c0cc commit 1f2cf71

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pylint/checkers/variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2461,7 +2461,7 @@ def _loopvar_name(self, node: astroid.Name) -> None:
24612461
else_stmt, (nodes.Return, nodes.Raise, nodes.Break, nodes.Continue)
24622462
):
24632463
return
2464-
# TODO: 2.16: Consider using RefactoringChecker._is_function_def_never_returning
2464+
# TODO: 3.0: Consider using RefactoringChecker._is_function_def_never_returning
24652465
if isinstance(else_stmt, nodes.Expr) and isinstance(
24662466
else_stmt.value, nodes.Call
24672467
):

pylint/reporters/json_reporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class JSONReporter(BaseJSONReporter):
7575
TODO: 3.0: Remove this JSONReporter in favor of the new one handling abs-path
7676
and confidence.
7777
78-
TODO: 2.16: Add a new JSONReporter handling abs-path, confidence and scores.
78+
TODO: 3.0: Add a new JSONReporter handling abs-path, confidence and scores.
7979
(Ultimately all other breaking change related to json for 3.0).
8080
"""
8181

pylint/testutils/functional/test_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class FunctionalTestFile:
6262
def __init__(self, directory: str, filename: str) -> None:
6363
self._directory = directory
6464
self.base = filename.replace(".py", "")
65-
# TODO: 2.x: Deprecate FunctionalTestFile.options and related code
65+
# TODO: 3.0: Deprecate FunctionalTestFile.options and related code
6666
# We should just parse these options like a normal configuration file.
6767
self.options: TestFileOptions = {
6868
"min_pyver": (2, 5),

0 commit comments

Comments
 (0)