diff --git a/pre_commit_hooks/mixed_line_ending.py b/pre_commit_hooks/mixed_line_ending.py index 5982705..f918d4f 100644 --- a/pre_commit_hooks/mixed_line_ending.py +++ b/pre_commit_hooks/mixed_line_ending.py @@ -8,13 +8,13 @@ from enum import Enum class LineEnding(Enum): - CR = b'\r', '\\r', 'cr', re.compile(b'\r(?!\n)', re.DOTALL) - CRLF = b'\r\n', '\\r\\n', 'crlf', re.compile(b'\r\n', re.DOTALL) - LF = b'\n', '\\n', 'lf', re.compile(b'(?