encode / uvicorn

An ASGI web server, for Python. 🦄
https://www.uvicorn.org/
BSD 3-Clause "New" or "Revised" License
8.11k stars 701 forks source link

Replace % string formatting with f-string #2322

Closed dolfinus closed 1 month ago

dolfinus commented 2 months ago

Summary

Update string % subst usage with f-string. For logging use logger.method(string, subst) instead of explicit message formatting.

Checklist

baseplate-admin commented 1 month ago

I did a comment on a issue, i don't think this is prioritized at this moment :

dolfinus commented 1 month ago

That comment just asks "why not f-string", and then closed without any discussion or describing a reason why not.

baseplate-admin commented 1 month ago

then closed without any discussion

The thing is i didn't close the comment.

describing a reason why not.

Precisely why i dont think that this formatting issue is not high priority