Closed za closed 1 year ago
Hi @mgmacias95 if you have time, do you have any opinion on this issue? #noturgent
Hello @za,
Sorry for taking this long to reply, I've been on PTO.
At Google we have an internal tool for code formatting. I think it's best we use that one instead of black. Let me update your PR with the changes done by that tool :).
Thanks!
Hi @mgmacias95 no worries.
BTW, I am just wondering, so pyformat (or Google internal tool) prefer to use two spaces instead of four spaces? It's quite surprising for me, as I am very familiar with four spaces style :-)
Oh, and I can see the module import is in alphabetical order now. Like what we can do with isort
.
Yes, we use two spaces and imports are sorted to they are easier to find.
I'm closing this issue since the PR is already merged.
Thanks for the review @mgmacias95 !
To have a more standardized style (I know this is opinionated), what if we use black to format the python code?