Skip to content

Commit f1349b1

Browse files
alexfiklinducer
authored andcommitted
fix: update f-string (RUF073)
1 parent 0230157 commit f1349b1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

grudge/geometry/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def inverse_first_fundamental_form(
410410
obj_array.new_1d([-F, E])]
411411
)
412412
else:
413-
raise ValueError(f"{dim}D surfaces not supported" % dim)
413+
raise ValueError(f"{dim}D surfaces not supported")
414414

415415
return inv_form1
416416

grudge/trace_pair.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def _sym_tag_to_num_tag(comm_tag: Hashable | None, base_tag: int) -> int:
426426

427427
# FIXME: This isn't guaranteed to be correct.
428428
# See here for discussion:
429-
# - https://github.com/illinois-ceesd/mirgecom/issues/617#issuecomment-1057082716 # noqa
429+
# - https://github.com/illinois-ceesd/mirgecom/issues/617#issuecomment-1057082716
430430
# - https://github.com/inducer/grudge/pull/222
431431
# Since only 1 communication can be pending for a given tag at a time,
432432
# this does not matter currently. See https://github.com/inducer/grudge/issues/223

test/test_grudge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ def rhs(t, u, adv_operator=adv_operator):
873873

874874
if visualize:
875875
vis.write_vtk_file(
876-
f"fld-{mesh_par}-{step:04d}vtu" % (mesh_par, step),
876+
f"fld-{mesh_par}-{step:04d}vtu",
877877
[("u", u)]
878878
)
879879

0 commit comments

Comments
 (0)