summaryrefslogtreecommitdiff
path: root/pylint/checkers/refactoring/refactoring_checker.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-29 21:21:43 +0200
committerGitHub <noreply@github.com>2023-03-29 21:21:43 +0200
commit9f2de9123b579fadd512e31e9b68c7eb40a9c62d (patch)
treea9329f19f490e97916cfcce82d1318bf2de2b333 /pylint/checkers/refactoring/refactoring_checker.py
parent1be16bb8c4eb1a19c2a3d7ea828feb4fd9c069a8 (diff)
downloadpylint-git-9f2de9123b579fadd512e31e9b68c7eb40a9c62d.tar.gz
[PyCQA migration] Upgrade links to the repositories in code and doc (#8514)
Diffstat (limited to 'pylint/checkers/refactoring/refactoring_checker.py')
-rw-r--r--pylint/checkers/refactoring/refactoring_checker.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pylint/checkers/refactoring/refactoring_checker.py b/pylint/checkers/refactoring/refactoring_checker.py
index b0a87b4c9..bfe0f46d0 100644
--- a/pylint/checkers/refactoring/refactoring_checker.py
+++ b/pylint/checkers/refactoring/refactoring_checker.py
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
@@ -1060,8 +1060,8 @@ class RefactoringChecker(checkers.BaseTokenChecker):
def _check_consider_using_generator(self, node: nodes.Call) -> None:
# 'any', 'all', definitely should use generator, while 'list', 'tuple',
# 'sum', 'max', and 'min' need to be considered first
- # See https://github.com/PyCQA/pylint/pull/3309#discussion_r576683109
- # https://github.com/PyCQA/pylint/pull/6595#issuecomment-1125704244
+ # See https://github.com/pylint-dev/pylint/pull/3309#discussion_r576683109
+ # https://github.com/pylint-dev/pylint/pull/6595#issuecomment-1125704244
# and https://peps.python.org/pep-0289/
checked_call = ["any", "all", "sum", "max", "min", "list", "tuple"]
if (
@@ -1171,7 +1171,7 @@ class RefactoringChecker(checkers.BaseTokenChecker):
if len(node.args) == 0:
# handle case when builtin.next is called without args.
- # see https://github.com/PyCQA/pylint/issues/7828
+ # see https://github.com/pylint-dev/pylint/issues/7828
return
inferred = utils.safe_infer(node.func)