summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2022-01-05 09:45:57 -0500
committerGitHub <noreply@github.com>2022-01-05 15:45:57 +0100
commit60f60d10132bbbca7e1fda8116aa95adb11b3841 (patch)
treed8c41fb37e81a1980a3f5a0cb7720905f2e1aafc
parentfb4259f9dea0b9b53c2f376daa36c93f9bfc1e14 (diff)
downloadpylint-git-60f60d10132bbbca7e1fda8116aa95adb11b3841.tar.gz
Fix typos in pylint/checkers/variables.py (#5639)
-rw-r--r--pylint/checkers/variables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py
index e79f545cc..ae01a65d1 100644
--- a/pylint/checkers/variables.py
+++ b/pylint/checkers/variables.py
@@ -726,7 +726,7 @@ scope_type : {self._atomic.scope_type}
):
uncertain_nodes.append(other_node)
else:
- # Assume the except blocks execute. Possiblility for a false negative
+ # Assume the except blocks execute. Possibility for a false negative
# if one of the except blocks does not define the name in question,
# raise, or return. See: https://github.com/PyCQA/pylint/issues/5524.
continue
@@ -1806,7 +1806,7 @@ class VariablesChecker(BaseChecker):
if defstmt_frame == node_frame and not ref_node.lineno < node.lineno:
break
- # If the parent of the local reference is anything but a AnnAssign
+ # If the parent of the local reference is anything but an AnnAssign
# Or if the AnnAssign adds a value the variable will now have a value
# var = 1 # OR
# var: int = 1