pydata / xarray

N-D labeled arrays and datasets in Python
https://xarray.dev
Apache License 2.0
3.63k stars 1.09k forks source link

Fix typos found by codespell #9721

Closed DimitriPapadopoulos closed 2 weeks ago

max-sixty commented 2 weeks ago

Nice! We could add typos to pre-commit @DimitriPapadopoulos ?

DimitriPapadopoulos commented 2 weeks ago

Sure, but please understand there will be false positives. You will have to silence new false positives them from time to time. Is an occasional codespell run more efficient?

max-sixty commented 2 weeks ago

Sure, but please understand there will be false positives. You will have to silence new false positives them from time to time. Is an occasional codespell run more efficient?

Typos is designed with a dictionary that has a very low false-positive rate (but you're correct, they do happen...)

DimitriPapadopoulos commented 2 weeks ago

Same for codespell, it contains a dictionary of common typos.