diff options
Diffstat (limited to 'lab/parse_all.py')
-rw-r--r-- | lab/parse_all.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lab/parse_all.py b/lab/parse_all.py index b14c1f0e..3b2465d9 100644 --- a/lab/parse_all.py +++ b/lab/parse_all.py @@ -3,17 +3,16 @@ import os import sys -from coverage.exceptions import CoverageException from coverage.parser import PythonParser for root, dirnames, filenames in os.walk(sys.argv[1]): for filename in filenames: if filename.endswith(".py"): filename = os.path.join(root, filename) - print(":: {}".format(filename)) + print(f":: {filename}") try: par = PythonParser(filename=filename) par.parse_source() par.arcs() except Exception as exc: - print(" ** {}".format(exc)) + print(f" ** {exc}") |