python-pillow / Pillow

Python Imaging Library (Fork)
https://python-pillow.org
Other
11.8k stars 2.13k forks source link

Do not use percent format in strings #8045

Closed radarhere closed 3 weeks ago

radarhere commented 3 weeks ago

Fixes the failures in https://github.com/python-pillow/Pillow/pull/8044

Converts several percent format strings to f-strings.

There is also a percent format inside a multiline string - I think the neatest solution is just to break the multiline string.

Yay295 commented 3 weeks ago

created https://github.com/radarhere/Pillow/pull/25 for the PdfParser change