Replies: 1 comment 2 replies
-
Indeed having a unified code style is a very good idea. The python we use at the moment is inherited from the previous RSD version. There are some changes here and there to adapt it to the new service. I would be happy to transform this into the python black style. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For Python, there is no unified code style being used at the moment, at least as far as I can see. I think in the future the code might benefit from a style, as the overall looks will be the same, no matter who committed code.
My suggestion would be to use Python Black, which is rather strict and has the advantage that it comes with an auto formatter. We have had good experiences with Black so far.
When committing to a style, adding a step that checks for style violations in the CI/CD would make sense too.
What are your opinions about that?
Beta Was this translation helpful? Give feedback.
All reactions