#12358 left a bunch of strings that need to be converted from percent formatting to ideally f-strings. Ruff rule UP031 can then be enabled in pyproject.toml. I think it would also be worth searching ...
print(f"{num:10} test") #allocate spaces, if 10 are allocated then ther are 10-len(num) sapces before the number print(f"{num:05}") #allocate spaces and zero pad, same logic as above ...