mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-09 15:53:53 +01:00
fix: Allow Python asend identifier
This commit is contained in:
1 parent
f6ce659dbc
commit
5956a2610c
2 files changed
+2
-8
No files matched your search
+1
@@ -79,6 +79,7 @@ pub(crate) const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
|
||||
"NDArray", // numpy.typing.NDArray
|
||||
"EOFError", // std
|
||||
"arange", // torch.arange, numpy.arange
|
||||
"asend", // AsyncGenerator.asend
|
||||
"certifi", // popular package
|
||||
],
|
||||
ignore_words: &[],
|
||||
|
||||
@@ -1,11 +1,4 @@
|
||||
bin.name = "typos"
|
||||
stdin = ""
|
||||
stdout = """
|
||||
error: `asend` should be `ascend`
|
||||
╭▸ ./sample.py:9:21
|
||||
│
|
||||
9 │ await generator.asend(None) # should work
|
||||
╰╴ ━━━━━
|
||||
"""
|
||||
stdout = ""
|
||||
stderr = ""
|
||||
status.code = 2
|
||||
Reference in new issue
Block a user