This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
codingstandard:index [2012-05-18 20:00] macke |
codingstandard:index [2013-03-14 22:59] macke |
||
---|---|---|---|
Line 160: | Line 160: | ||
====== Coding standard for Python ====== | ====== Coding standard for Python ====== | ||
- | What ever works ;-) | + | We aim to follow [[http:// |
+ | |||
+ | ===== Documentation ===== | ||
+ | For documentation doc strings are used. | ||
+ | |||
+ | ===== Static analysis ===== | ||
+ | For static code analysis [[https:// | ||
+ | * These has been added to the list of good variables | ||
+ | * pk - used all over for variables that are CRTPPacket | ||
+ | * cf - used all over for variables that are Crazyflie | ||
+ | * logger - used all over as a file-global logger | ||
+ | * cb - used all over to describe an argument or variable that is a callback |