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 25c06e6 commit 1907537Copy full SHA for 1907537
1 file changed
pre_commit/languages/pygrep.py
@@ -33,7 +33,9 @@ def _process_filename_at_once(pattern, filename):
33
match = pattern.search(f.read())
34
if match:
35
retv = 1
36
- output.write('{}:{}-{}:'.format(filename, match.start(), match.end()))
+ output.write(
37
+ '{}:{}-{}:'.format(filename, match.start(), match.end()),
38
+ )
39
output.write_line(match.group())
40
return retv
41
0 commit comments