Skip to content

Commit 2177fac

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3620714 commit 2177fac

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

strings/min_cost_string_conversion.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,7 @@ def assemble_transformation(ops: list[list[str]], i: int, j: int) -> list[str]:
140140
elif op[0] == "R":
141141
string[i] = op[2]
142142

143-
file.write(
144-
"%-16s" % ("Replace %c" % op[1] + " with " + str(op[2]))
145-
) # noqa: UP031
143+
file.write("%-16s" % ("Replace %c" % op[1] + " with " + str(op[2]))) # noqa: UP031
146144
file.write("\t\t" + "".join(string))
147145
file.write("\r\n")
148146

0 commit comments

Comments
 (0)