We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25c06e6 commit 1907537Copy full SHA for 1907537
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