Skip to content

Commit 7dd24ed

Browse files
committed
pylint_all: Handle Ctrl+C more gracefully
1 parent 714cce1 commit 7dd24ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/pylint_all.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,7 @@ def main():
8686

8787

8888
if __name__ == "__main__":
89-
main()
89+
try:
90+
main()
91+
except KeyboardInterrupt:
92+
exit("Interrupted by user. Exiting.")

0 commit comments

Comments
 (0)