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 8a98c5e + 9567db6 commit 68816a9Copy full SHA for 68816a9
1 file changed
pre_commit_hooks/check_vcs_permalinks.py
@@ -18,6 +18,7 @@ def _check_filename(filename):
18
for i, line in enumerate(f, 1):
19
if GITHUB_NON_PERMALINK.search(line):
20
sys.stdout.write('{}:{}:'.format(filename, i))
21
+ sys.stdout.flush()
22
getattr(sys.stdout, 'buffer', sys.stdout).write(line)
23
retv = 1
24
return retv
0 commit comments