18
How is my Python code?
(raw.githubusercontent.com)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
I revised the code. Added some spaces and comments for better readability. Hope it's better now.
Instead you should just use an autoformatter. Black is good. Ruff is probably good too but I don't have a lot of experience with it. YAPF is not good; don't use it.