jonathan-s / django-sockpuppet

Build reactive applications with the django tooling you already know and love.
https://github.com/jonathan-s/django-sockpuppet
MIT License
450 stars 22 forks source link

use black to format code #88

Closed nerdoc closed 3 years ago

nerdoc commented 3 years ago

Black is a really cool, if not the Python code formatter. It reduces whitespace, visual clutter, and helps teams to produce the same code style.

I had problems in 2 PRs during the integration tests because of "whitespace" in another file (that I did not edit). This could be solved by just using black.

If you are ok with that, I could create a simple PR with black as dev requirement, and reformatting all files using black . But I recommend that you, @jonathan-s do that, as it touches much code in one commit, and in git blameit would look like I had written all the code :-)