Python Tip #300 (of 365): Separate the steps of a function with blank lines. If ...
Trey Hunner ๐ @treyhunner@mastodon.social
Python Tip #300 (of 365):
Separate the steps of a function with blank lines.
If you're using an auto-formatter like ruff or Black, you won't have control over most of your whitespace.
But how you use blank lines within functions is still up to you.
More on this:
https://pym.dev/embrace-whitespace/
๐งต (1/3)