You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Considering the prominence of black (https://github.com/psf/black) as the increasingly de-facto standard for code formatting on Python, it might be a good idea to switch to it and give up all hand-crafted control of code style in favor of total consistency.
Reasons to use black:
Our code is mostly black compatible already. I tried locally, and by far, the largest change is the consistent update of all string quotes to be double quoted.
Consistency, consistency, consistency. More and more big (and small) projects use it, and the lack of configurability means all projects are styled consistency even across organizations.
When working with code, you don't even have think about formatting, it will be done entirely for you. If you're an experienced coder, this is good because you can focus on what matters, if you are a novice coder, it's also good because it removes a whole category of review comments that need to be addressed later on.
It's not configurable: you can have any color you want, as long as it's black.
Considering the prominence of
black
(https://github.com/psf/black) as the increasingly de-facto standard for code formatting on Python, it might be a good idea to switch to it and give up all hand-crafted control of code style in favor of total consistency.Reasons to use black:
black
compatible already. I tried locally, and by far, the largest change is the consistent update of all string quotes to be double quoted.Reasons not to use black:
The text was updated successfully, but these errors were encountered: