Skip to content

Add a way to ignore line endings when matching lines from --exclude-file #1888

@Jackenmen

Description

@Jackenmen

This can be especially when repository is used on Windows with git's core.autocrlf set to true as then some files can have CRLF line endings locally even though they're checked out into git with LF endings. This mixing can therefore cause codespell to not ignore some lines if the line endings in --exclude-file differ from line endings in the file with spelling issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions