prevention-point
prevention-point copied to clipboard
Settle on python formatting/standard
My vote is for black but there's also yapf and others. Something that is mostly pep8 preferred. We should come up with a formatting style and have PR's automatically format any committed code.
I would highly recommend just going with black
and forgetting about it. That's the direction the whole Python community is moving, and we've talked quite a bit about doing it for Django itself (though things move slowly there): https://groups.google.com/u/1/g/django-developers/c/wK2PzdGNOpQ/m/2RxsYsZhCQAJ
I would go with this choice as well. @ThrowsException mentioned doing this and the front end on #288 all as one commit that can be filtered out in git blame. That's honestly why I haven't done this yet, I really don't personally want to change every single line of the project.