With --exclude-file, when the file with the line to be ignored has a CRLF line ending, the ignore does not work.
Adding a CR to the exclude-file does not help.
Run codespell -x exclude-file.txt test.html test2.html
on the files in the test case.
codespell_tc_eol.zip
The expected result is no issues.
Tested with codespel 2.2.6