codespell-project / codespell

check code for common misspellings
GNU General Public License v2.0
1.84k stars 470 forks source link

Refactor: Move some code to new files for reuse #3434

Closed nthykier closed 2 months ago

nthykier commented 2 months ago

No new code is introduced; only existing code is shuffled around and the functions moved are unchanged as well.

(Subset of #3425)

DimitriPapadopoulos commented 2 months ago

Perhaps change codespell_lib/_text_util.pycodespell_lib/_util.py? Let's keep it short, the whole program is about processing text any way.