Skip to content

Code conventions

cjrd edited this page Jun 29, 2012 · 4 revisions

Generally, TMA adhere's to the recommended python coding standards.

  • files (modules) are lowercase,
  • classes are CamelCaps
  • methods, functions, and instantiations are lower_case_with_underscores
  • use 4 spaces (not tabs) for indentation
  • whenever possible, try to separate javascript and css into standalone files
  • place all included dependencies in the lib folder

Clone this wiki locally