Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 10b0c11 + 64d57ba commit 1494faeCopy full SHA for 1494fae
1 file changed
pre_commit/commands/autoupdate.py
@@ -84,9 +84,7 @@ def _check_hooks_still_exist_at_rev(
84
)
85
86
87
-REV_LINE_RE = re.compile(
88
- r'^(\s+)rev:(\s*)([\'"]?)([^\s#]+)(.*)(\r?\n)$', re.DOTALL,
89
-)
+REV_LINE_RE = re.compile(r'^(\s+)rev:(\s*)([\'"]?)([^\s#]+)(.*)(\r?\n)$')
90
91
92
def _original_lines(
0 commit comments