mne-python icon indicating copy to clipboard operation
mne-python copied to clipboard

Replace percent format with format specifiers (f-strings)

Open cbrnr opened this issue 5 months ago • 9 comments

#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 for " % " (or similar), because it looks like Ruff doesn't find all percent-formatted strings.

cbrnr avatar Jan 15 '24 06:01 cbrnr