FlexSEA Wiki

A WEARABLE ROBOTICS TOOLKIT

User Tools

Site Tools


styleguidepython

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
styleguidepython [2020/04/08 14:00]
jfduval [General]
styleguidepython [2020/04/08 14:25]
jfduval [General]
Line 1: Line 1:
 ====== Dephy Python Programming Style Guide ====== ====== Dephy Python Programming Style Guide ======
- 
-<color #​ed1c24>​*** Work in progress ***</​color>​ 
  
 Programming in C/C++? [[styleguide|Dephy C/C++ Programming Style Guide]] Programming in C/C++? [[styleguide|Dephy C/C++ Programming Style Guide]]
Line 13: Line 11:
   * Do not commit random empty lines. There should never be more than one (1) empty line.   * Do not commit random empty lines. There should never be more than one (1) empty line.
   * Do not use ''"""​ """''​ for comments that are on a single line, use '#'​   * Do not use ''"""​ """''​ for comments that are on a single line, use '#'​
 +  * Use parentheses with conditional statements
  
 ===== Operators and spaces ===== ===== Operators and spaces =====
styleguidepython.txt ยท Last modified: 2020/04/08 14:25 by jfduval