Skip to content

Commit 5b50bce

Browse files
committed
1 parent 1a019da commit 5b50bce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/run_pylint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def main() -> None:
4444
# We’d like to add “--” after the options, but that’s not possible
4545
# due to https://github.com/PyCQA/pylint/issues/7003.
4646
'--persistent=no', '--rcfile=' + str(args.pylintrc.resolve()),
47-
f'--init-hook=import sys; sys.path.extend({repository_path!r})']
47+
f'--init-hook=import sys; sys.path.extend({repository_path!r})',
48+
f'--output-format=text,text:{args.out}']
4849
+ [str(file) for file in sorted(srcset)],
4950
check=False,
5051
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
@@ -53,7 +54,6 @@ def main() -> None:
5354
print('$', shlex.join(result.args))
5455
print(result.stdout)
5556
sys.exit(result.returncode)
56-
args.out.touch()
5757

5858

5959
if __name__ == '__main__':

0 commit comments

Comments
 (0)