materialsproject / pymatgen

Python Materials Genomics (pymatgen) is a robust materials analysis code that defines classes for structures and molecules with support for many electronic structure codes. It powers the Materials Project.
https://pymatgen.org
Other
1.52k stars 867 forks source link

Cleanup `codespell` ignore patterns #4175

Closed DanielYang59 closed 1 week ago

DanielYang59 commented 1 week ago

Cleanup codespell ignore patterns

Currently a lot of global ignore patterns are very specific to a certain module (or even one line), there's no good reason to ignore a pattern globally for such cases. Admittedly it will be a balance between convenience (no one want to insert a # codespell:ignore tag every line) and correctness (some patterns are very specific to few lines across the code base, but are real typos elsewhere, like lamda/coul, do note).

Changes:

Follow up

DanielYang59 commented 1 week ago

Thanks! Currently codespell doesn't seem to support block/file level support with pattern, I would update once they do.