mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
remove DOTALL on REV_LINE_RE
This commit is contained in:
parent
c972205214
commit
64d57ba466
1 changed files with 1 additions and 3 deletions
|
|
@ -84,9 +84,7 @@ def _check_hooks_still_exist_at_rev(
|
|||
)
|
||||
|
||||
|
||||
REV_LINE_RE = re.compile(
|
||||
r'^(\s+)rev:(\s*)([\'"]?)([^\s#]+)(.*)(\r?\n)$', re.DOTALL,
|
||||
)
|
||||
REV_LINE_RE = re.compile(r'^(\s+)rev:(\s*)([\'"]?)([^\s#]+)(.*)(\r?\n)$')
|
||||
|
||||
|
||||
def _original_lines(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue