This is just small a suggestion. I perfectly understand if you don't think this is worth the hassle, but whenever I try to bug fix in MSAF I have to think a bit extra about how to format whitespace, etc. and would prefer if there was some typical automagic setup that just did the standard thing for me.
Since arguably black is the new default code formatter for Python these days, and pre-commit is having a strong foothold (example, example, etc.), perhaps those tools could be applied on MSAF as well?
Pros:
Easier to contribute without having to think about code formatting so much ("just run black") so we can focus on numerical stuff
Automatic early code review by catching style and flake errors on CI
Cons:
One more step and tool to learn in order to contribute
Might make code look uglier after the automatic formatting sometimes
Again, totally get if you think this is not worth the hassle! Just wanted to propose it to see how it feels! :D
This is just small a suggestion. I perfectly understand if you don't think this is worth the hassle, but whenever I try to bug fix in MSAF I have to think a bit extra about how to format whitespace, etc. and would prefer if there was some typical automagic setup that just did the standard thing for me.
Since arguably
black
is the new default code formatter for Python these days, andpre-commit
is having a strong foothold (example, example, etc.), perhaps those tools could be applied on MSAF as well?Pros:
black
") so we can focus on numerical stuffCons:
Again, totally get if you think this is not worth the hassle! Just wanted to propose it to see how it feels! :D