diff options
| author | Scott Shawcroft <scott@chickadee.tech> | 2016-08-24 13:19:25 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@chickadee.tech> | 2016-08-24 13:19:25 -0700 |
| commit | dade18bddf2a700c372f64d0a859cd0d24ea98d0 (patch) | |
| tree | 1c6b580c226765d1f7c20a6c9dede8f94aa3db25 /CODECONVENTIONS.md | |
| parent | 258804ab16b96035eeb99c8caee6055781083007 (diff) | |
CODECONVENTIONS.md: Fix typos.
Diffstat (limited to 'CODECONVENTIONS.md')
| -rw-r--r-- | CODECONVENTIONS.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CODECONVENTIONS.md b/CODECONVENTIONS.md index fa90940cc..dbc362757 100644 --- a/CODECONVENTIONS.md +++ b/CODECONVENTIONS.md @@ -24,7 +24,7 @@ a change in a detail, if needed. Any change beyond 5 lines would likely require such detailed description. To get good practical examples of good commits and their messages, browse -thry the `git log` of the project. +the `git log` of the project. Python code conventions ======================= @@ -33,7 +33,7 @@ Python code follows [PEP 8](http://legacy.python.org/dev/peps/pep-0008/). Naming conventions: - Module names are short and all lowercase; eg pyb, stm. -- Class names are CamelCase, with abreviations all uppercase; eg I2C, not +- Class names are CamelCase, with abbreviations all uppercase; eg I2C, not I2c. - Function and method names are all lowercase with words separated by a single underscore as necessary to improve readability; eg mem_read. @@ -52,7 +52,7 @@ White space: keyword and the opening parenthesis. - Put 1 space after a comma, and 1 space around operators. -Braces: +Braces: - Use braces for all blocks, even no-line and single-line pieces of code. - Put opening braces on the end of the line it belongs to, not on |
