wiki:DeveloperGuidelines/CodeConventions

Version 4 (modified by Abhishek Mishra, 15 years ago) ( diff )

--

These conventions should be followed in all code:

  • http://code.google.com/p/soc/wiki/PythonStyleGuide
    • Limit line length to 80 characters
  • Use " " for strings, UNLESS the string contains a ", in which case use '
  • All functions outside of classes should have the prefix shn_<Model Name>_
  • All classes which over-ride existing classed should have the suffix "S3"
  • Some automated bug analysis / code quality checking tools -
Note: See TracWiki for help on using the wiki.