diff --git a/crates/typos-cli/tests/cmd/false-positives.in/README.md b/crates/typos-cli/tests/cmd/false-positives.in/README.md index f16cfc8..5871723 100644 --- a/crates/typos-cli/tests/cmd/false-positives.in/README.md +++ b/crates/typos-cli/tests/cmd/false-positives.in/README.md @@ -1 +1,7 @@ add-ons should not be corrected to add-owns + +git glossary has both commitish and committish, so don't correct them + +HTTP_REFERER is a valid HTTP header field + +It should be reasonable to talk about `` diff --git a/crates/typos-cli/tests/cmd/false-positives.in/sample.py b/crates/typos-cli/tests/cmd/false-positives.in/sample.py new file mode 100644 index 0000000..dcf674d --- /dev/null +++ b/crates/typos-cli/tests/cmd/false-positives.in/sample.py @@ -0,0 +1 @@ +from numpy.typing import NDArray # should work diff --git a/crates/typos-cli/tests/cmd/false-positives.in/sample.rs b/crates/typos-cli/tests/cmd/false-positives.in/sample.rs new file mode 100644 index 0000000..de110f9 --- /dev/null +++ b/crates/typos-cli/tests/cmd/false-positives.in/sample.rs @@ -0,0 +1,3 @@ +use serde::ser; + +use flate2::*;