Closed theRealSuperMario closed 3 years ago
I suggest a simple black formatting (https://github.com/psf/black). It has never let me down. Black is still in beta, but you can just fix the version you use to specific tag. I personally use 19.3b0 for most of my projects.
Hi,
Great project, very handy tool.
Could you maybe release the formatting specification for the code?
I had a very hard time getting the commits right because my editor was set to "ignore whitespaces" in diff mode and your indentation was set to whitespace characters.
Preferably, just use
pre-commit
https://pre-commit.com, which automatically runs the formatter upon committing the code and rejects the commit when the formatting specification is not met.Once I have the formatting specification, I can run that on top of my commits and push a formatting commit so that everything is nice and clean again.
Cheers 🍻