summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungsoo Sung <ysung@bepro11.com>2021-10-17 10:24:47 +0100
committerGitHub <noreply@github.com>2021-10-17 11:24:47 +0200
commit8da5d5328e11c5a4a8ea7e933fa2d59dd793b2c8 (patch)
tree184a22229579f20d6154ea9e6bbaf774714246bd
parentd3b27d8aeeb27441405d4183feb7b18a91925093 (diff)
downloadpylint-git-8da5d5328e11c5a4a8ea7e933fa2d59dd793b2c8.tar.gz
Async context manager typo (#5164)
-rw-r--r--CONTRIBUTORS.txt2
-rw-r--r--pylint/checkers/design_analysis.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index bd6183040..d6e2769ee 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -554,3 +554,5 @@ contributors:
* Samuel Forestier: contributor
* James DesLauriers: contributor
+
+* Youngsoo Sung: contributor
diff --git a/pylint/checkers/design_analysis.py b/pylint/checkers/design_analysis.py
index 947e22078..3b5056a9e 100644
--- a/pylint/checkers/design_analysis.py
+++ b/pylint/checkers/design_analysis.py
@@ -178,7 +178,7 @@ STDLIB_CLASSES_IGNORE_ANCESTOR = frozenset(
"typing.ItemsView",
"typing.ValuesView",
"typing.ContextManager",
- "typing.AsyncContextManger",
+ "typing.AsyncContextManager",
"typing.Hashable",
"typing.Sized",
)