diff --git a/mathicsscript/version.py b/mathicsscript/version.py index 4bbe1fa..c8af12a 100644 --- a/mathicsscript/version.py +++ b/mathicsscript/version.py @@ -3,4 +3,5 @@ # This file is suitable for sourcing inside POSIX shell as # well as importing into Python. That's why there is no # space around "=" below. +# fmt: off __version__="3.1.1.dev0" # noqa diff --git a/rst2html.py b/rst2html.py index 6b25b3f..f8aeb83 100755 --- a/rst2html.py +++ b/rst2html.py @@ -51,7 +51,7 @@ def clean_line(line): for (regex, sub) in regex_subs: line = regex.sub(sub, line) except Exception as ex: - print("ERROR: %s, (line(%s)" % (regex, sub)) + print(f"ERROR: {regex}, (line({sub})") raise ex return line