Skip to content
acasimiro edited this page Aug 28, 2012 · 14 revisions

Here are the code conventions used in komoo project. PLEASE FOLLOW THEM!

Naming

Always name your objects (i.e. classes, variables, styles, functions, etc.) using more generic components firsts.

Examples:

  • class Formlist

Obs.: This is valid for code itself, but not for the folders structure, which are organized by flask blueprints (same idea as django like apps)

Languages

Python

  • Indendation: 4 spaces PEP-8

Coffeescript

  • Indendation: 2 spaces

HTML

  • Indendation: 2 spaces

CSS

  • Indendation: 4 spaces
Clone this wiki locally