Wiki

Changes between Version 11 and Version 12 of HowToSubmitAPatch

Show
Ignore:
Timestamp:
11/22/10 19:50:39 (14 years ago)
Author:
todd.a
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToSubmitAPatch

    v11 v12  
    1313Cobra itself enforces some coding guidelines such as capitalizing classes and indenting code blocks. Additionally, try to mimic the style of code that you see around the code are writing. Here are some additional coding guidelines: 
    1414{{{ 
     15#!cobra 
    1516# Calling methods: No space after '(' or before ')'. One space after commas. 
    1617# good: 
     
    7879Do not use print statements in tests. Use assert statements. 
    7980{{{ 
     81#!cobra 
    8082# good: 
    8183assert x inherits Foo