This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
codingstandard:index [2012-05-18 20:00] macke |
codingstandard:index [2021-06-24 16:35] (current) kimberly |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <WRAP center round important 60%> | ||
| + | This page has deprecated and will be archived. Please go to [[https:// | ||
| + | </ | ||
| + | |||
| ====== Coding standard for C ====== | ====== Coding standard for C ====== | ||
| ===== Indentation ===== | ===== Indentation ===== | ||
| Line 160: | Line 164: | ||
| ====== 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 | ||