-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adopt a code formatter #706
Comments
There are at least 3 potential candidates:
|
Looking at the output of the 3 on an already flaked code:
I must say I'm so far not fully sure to see the benefits of an advanced code formatter. I would be fine with trying if other contributors see benefits in it, or if we think that formatters are so standard that not having one makes our codebase look dirty. But if I come back to #702, the two things we wanted to automate were:
|
So to summarize my position: no strong opinion, will not reject a PR that enforce any code formatting. So if this matters to you (@magopian or anyone) and that a formatter would make you contribute more, go ahead! (I also realize that I spent way too much time thinking about all that, which by itself is an argument for outsourcing all decision to a code formatter 😉 ) |
Take a look at #727 and let me know of you think that could be a first step towards a stricter solution. |
Following #702, the question was raised regarding the adoption of an automatic code formatter like black.
Some discussion already started in openfisca/openfisca-france#1060 (comment)
The text was updated successfully, but these errors were encountered: