diff --git a/crates/typos-cli/src/file_type_specifics.rs b/crates/typos-cli/src/file_type_specifics.rs index 48468d08..047782e0 100644 --- a/crates/typos-cli/src/file_type_specifics.rs +++ b/crates/typos-cli/src/file_type_specifics.rs @@ -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: &[], diff --git a/crates/typos-cli/tests/cmd/false-positives.toml b/crates/typos-cli/tests/cmd/false-positives.toml index 525f82b1..324f41d7 100644 --- a/crates/typos-cli/tests/cmd/false-positives.toml +++ b/crates/typos-cli/tests/cmd/false-positives.toml @@ -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