prevention-point icon indicating copy to clipboard operation
prevention-point copied to clipboard

Settle on python formatting/standard

Open ThrowsException opened this issue 4 years ago • 2 comments

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.

ThrowsException avatar May 11 '20 04:05 ThrowsException

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

FlipperPA avatar Dec 19 '20 22:12 FlipperPA

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.

MikeyManoguerra avatar Dec 21 '20 18:12 MikeyManoguerra