Updated Python Code Style Guidelines#3828
Conversation
|
As mentioned in godotengine/godot#40627 this should probably refer to pre-commit hooks instead. |
|
Should I add both pre-commit hooks and the manual way like it's done for clang-format? |
|
I think it should be mentioned in some general contribution workflow guide, if not already. But it is still worthwhile mentioning the particular hook for python in the article about python code style. So what if it's similar to CLang one. That's fine. And yes, it doesn't hurt to mention both way to call it, but in my opinion the hooks are more important as they automate all kinds of checks. |
90c4a2e to
ab88c20
Compare
ec85f65 to
8deec55
Compare
This comment has been minimized.
This comment has been minimized.
Updated Python Code Style Guidelines to use Black now.
|
Thanks! |
Updated Python Code Style Guidelines to use Black now.