sisl
sisl copied to clipboard
Using black code formatting style
Describe the feature I would like to use some kind of code formatter/style tool.
And while I don't agree with all of them on all things, I think it is better to just have consistency above all.
Any suggestions?
I have thought about using black
, it is a tough formatter, but is really consistent.
@pfebrer any comments? K
I don't have much experience with code formatters. The only thing I know is that sometimes they can be really annoying trying to format things in ways that don't look nice and you have to add comments in your code just to avoid the formatter for certain lines. 😅
Tomorrow I will look into how black
works and give an opinion about it 👍
Agreed. However if it formats code nice in 80-90% it might be the trouble worth it.
One good example of where I think it messes things up is the periodic table... You'll see ;)
You'll see ;)
Can't wait haha