Changes between Version 11 and Version 12 of HowToSubmitAPatch
- Timestamp:
- 11/22/10 19:50:39 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToSubmitAPatch
v11 v12 13 13 Cobra 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: 14 14 {{{ 15 #!cobra 15 16 # Calling methods: No space after '(' or before ')'. One space after commas. 16 17 # good: … … 78 79 Do not use print statements in tests. Use assert statements. 79 80 {{{ 81 #!cobra 80 82 # good: 81 83 assert x inherits Foo