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.
1 parent c972205 commit 64d57baCopy full SHA for 64d57ba
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