crate-ci / typos

Source code spell checker
Apache License 2.0
2.56k stars 100 forks source link

False positives in IPv6 addresses #848

Open weiznich opened 1 year ago

weiznich commented 1 year ago

I'm setting up typos as part of the diesel CI workflow. While doing that I noticed the following "false" positives:


<details>

* Detecting typos in strangely cased words:
error: Ot should be To, Of, Or, Not --> ./dsl_auto_type/src/auto_type/case.rs:43:55 43 SHOUTY_SNAKE_CASE, dO_nOt_cHaNgE_cAsE" ^^


</details>
epage commented 1 year ago

For the second, there isn't really much we can do. Options for you include

For the first, I can see adding IPv6 detection. In the mean time, feel free to use any of the options mentioned for the second case.

In the future, please create issues for individual concerns. In this case, I'm just going to repurpose this for IPv6