miguelgrinberg / Flask-SocketIO

Socket.IO integration for Flask applications.
MIT License
5.31k stars 888 forks source link

format code with black and isort #1969

Closed tomscytale closed 1 year ago

tomscytale commented 1 year ago

I may send some PR's in the near future. However I'm not sure what code style is used in this project.

As a suggestion I've run black. I don't love what it does, but it's a standard. Let me know what you think.

If you don't like black let me know what you prefer and I'll use that instead.

miguelgrinberg commented 1 year ago

Thanks. Unfortunately this is something that if/when I decide to implement I will do myself on all my open source projects as a block, since it would be difficult for me to have different standards on different projects.

In any case, I have my personal formatting style that I like, so I don't really have an urgency to migrate, even though I agree that using a standard a lot of people agree on is nice and for that reason I might at some point do it.