Coding Standards for praksys plone products

Coding Standards for praksys plone products.


uml / python names

classes are CamelCase
Ticket, TicketAccount, Computer, ALongNamedClass
attributes and variable are lower_case
an_attribute, id, a_long_named_attribute, my_loop_variable
objects are camelCase
myLoopVariable, aTicketAccount, aLongNamedObject

CVS/BZR commit rule

  • one line per change :
    • prefixed with * for a modification
    • prefixed with + for an addition (without added in message)
    • prefixed with - for a removal (without removed in message)
  • example of a commit log :
       * fixed nasty bug
       - unused ''
       + ''
Créé par gpernot
Dernière modification jeudi 25 janvier 2007 11:41