Skip to content

Commit 8d55701

Browse files
committed
Change to format string; does autoblack work?
1 parent aad5dce commit 8d55701

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mathicsscript/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
# This file is suitable for sourcing inside POSIX shell as
44
# well as importing into Python. That's why there is no
55
# space around "=" below.
6+
# fmt: off
67
__version__="3.1.1.dev0" # noqa

rst2html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def clean_line(line):
5151
for (regex, sub) in regex_subs:
5252
line = regex.sub(sub, line)
5353
except Exception as ex:
54-
print("ERROR: %s, (line(%s)" % (regex, sub))
54+
print(f"ERROR: {regex}, (line({sub})")
5555
raise ex
5656

5757
return line

0 commit comments

Comments
 (0)