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 74c73d3 commit 714cce1Copy full SHA for 714cce1
scripts/pylint_all.py
@@ -6,7 +6,7 @@
6
7
from argparse import ArgumentParser
8
from os import path, walk
9
-from sys import exit as exitwith
+from sys import exit
10
from textwrap import dedent
11
import subprocess
12
@@ -80,9 +80,9 @@ def main():
80
(failed_count, total_count) = pylint_all_filenames(options.dev_mode, rootdirs)
81
82
if failed_count != 0:
83
- exitwith("pylint failed on {}/{} files.".format(failed_count, total_count))
+ exit(f"pylint failed on {failed_count}/{total_count} files.")
84
else:
85
- print("Successfully tested {} files.".format(total_count))
+ print(f"Successfully tested {total_count} files.")
86
87
88
if __name__ == "__main__":
0 commit comments