Skip to content
Myr

Add example of good code below example of bad code

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dull Bananas · committed by Dull Bananas · parent 0b6c110 · Browse files · 1 file+8 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+8 added−1 removed

  • other:+8 added−1 removed

1 file+8 added−1 removed

modified:docs/dev/contributing.rst+8 added-1 removed
128 unmodified lines
129 # Aligned with opening delimiter.130 foo = long_function_name(var_one, var_two,131 var_three, var_four)132133No. Just don't. Please.133No. Just don't. Please. This is much better::134135 foo = long_function_name(136 var_one,137 var_two,138 var_three,139 var_four,140 )141142Docstrings are to follow the following syntaxes::143144 def the_earth_is_flat():145 """NASA divided up the seas into thirty-three degrees."""
71 unmodified lines