From 69fb4ae6e70f160b3d4acbe36ed2633a01795bad Mon Sep 17 00:00:00 2001 From: Petr Stefan Date: Wed, 17 Aug 2016 18:11:33 +0200 Subject: [PATCH] Updated Coding style (markdown) --- Coding-style.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Coding-style.md b/Coding-style.md index d95fdab..680c275 100644 --- a/Coding-style.md +++ b/Coding-style.md @@ -4,6 +4,8 @@ Every project should have some consistent coding style in which all contributors ## C++ +**NOTE, that C++ projects have set code linter (`cmake-format`) with custom format. To reformat code run `make format` inside `build` directory of the project (probably not working on Windows).** For quick introduction into our format, see following paragraphs. + In C++ is written worker and queue manager. Generally its used underscore style with all small letters. Inspired by [Google C++ style guide](https://google.github.io/styleguide/cppguide.html). If something is not defined than naming/formatting can be arbitrary, but should be similar to bellow-defined behaviour. ### Naming convention @@ -109,4 +111,10 @@ x = x * 5 / 5; x = x + 5 * (10 - 5); ``` -## PHP \ No newline at end of file +## Python + +Python code should correspond to [PEP 8](https://www.python.org/dev/peps/pep-0008/) style. + +## PHP + +## JavaScript