summaryrefslogtreecommitdiff
path: root/pylint
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-29 21:27:18 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-31 09:02:32 +0200
commit07a945a218cf7f6b55691923bd797527e7b61cf5 (patch)
treebff2fe775746db1e004681091fac92185ac5db74 /pylint
parentd7732e446bdd30cb258c0d4dc5a3e189e1e917b3 (diff)
downloadpylint-git-07a945a218cf7f6b55691923bd797527e7b61cf5.tar.gz
[cleanup] Upgrade more doc following the PyCQA migration
Diffstat (limited to 'pylint')
-rw-r--r--pylint/checkers/utils.py2
-rw-r--r--pylint/checkers/variables.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py
index b477989bb..4b316909e 100644
--- a/pylint/checkers/utils.py
+++ b/pylint/checkers/utils.py
@@ -359,7 +359,7 @@ def is_defined_before(var_node: nodes.Name) -> bool:
defnode_scope = defnode.scope()
if isinstance(defnode_scope, (*COMP_NODE_TYPES, nodes.Lambda)):
# Avoid the case where var_node_scope is a nested function
- # FunctionDef is a Lambda until https://github.com/PyCQA/astroid/issues/291
+ # FunctionDef is a Lambda until https://github.com/pylint-dev/astroid/issues/291
if isinstance(defnode_scope, nodes.FunctionDef):
var_node_scope = var_node.scope()
if var_node_scope is not defnode_scope and isinstance(
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py
index 422aedf9c..0a24de370 100644
--- a/pylint/checkers/variables.py
+++ b/pylint/checkers/variables.py
@@ -2418,7 +2418,7 @@ class VariablesChecker(BaseChecker):
# the variable is not defined.
scope = node.scope()
# FunctionDef subclasses Lambda due to a curious ontology. Check both.
- # See https://github.com/PyCQA/astroid/issues/291
+ # See https://github.com/pylint-dev/astroid/issues/291
# TODO: Revisit when astroid 3.0 includes the change
if isinstance(scope, nodes.Lambda) and any(
asmt.scope().parent_of(scope) for asmt in astmts