From 5ab659c9f72c417d0509e7f77e9862a21349a28f Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 31 Mar 2024 16:18:08 +0200 Subject: [PATCH] Update code style --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 97034d5..9245c1c 100644 --- a/README.md +++ b/README.md @@ -82,11 +82,14 @@ func duplication_bad() -> void: func duplication_good() -> void: var node_num: int = 0 for node_name in nodes: + # Use '+=' or '-=' to subtract something from an integer counter += 1 set("node_" + node_name, Node.new()) get("node_" + node_name).name = "Test node " + str(node_num) add_child(get("node_" + node_name)) ``` + +Please note that you may find old code which does not yet follow these code style guidelines. If you find any, please fix them or report them, thank you! ### Committing Simply use `git add .`, `git commit -m "-patch-1` to push your changes. Don't forget to create a pull request once you are done. \ If you don't want to do everything from the command line you can use [gitui](https://github.com/extrawurst/gitui). It's a good and easy to use tui git client which I ([JeremyStarTM](https://git.staropensource.de/JeremyStarTM)) personally use and like. You can't do everything from gitui though, so please keep that in mind.