Changes between Version 17 and Version 18 of DeveloperGuidelines/CodeConventions
- Timestamp:
- 03/20/11 20:58:52 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/CodeConventions
v17 v18 11 11 * Limit line length to 80 characters 12 12 * Use " " for strings, UNLESS the string contains a ", in which case use ' 13 * All functions should include Docstrings like: 14 {{{ 15 """ 16 This function is just an example 17 @param: None 18 """ 19 }}} 13 20 14 === PEP8 Script === 21 15 Use static/scripts/tools/pep8.py to check for PEP8 compliance. … … 34 28 35 29 * All files, classes and functions should have docstrings which allow to auto-generate API documentation using [http://epydoc.sourceforge.net epydoc] 30 Suggested style: 31 {{{ 32 """ 33 This function is just an example 34 @param: None 35 """ 36 }}} 36 37 37 38 == Internationalisation ==