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 8a98c5e commit 9567db6Copy full SHA for 9567db6
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