Skip to content
Myr

updated style guide

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 5d0ffd8 · Browse files · 1 file+15 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+15 added−1 removed

  • other:+15 added−1 removed

1 file+15 added−1 removed

modified:docs/dev/contributing.rst+15 added-1 removed
124 unmodified lines
125 # Aligned with opening delimiter.126 foo = long_function_name(var_one, var_two,127 var_three, var_four)128129Just don't. Ever.129No.130131Docstrings are to follow the following syntaxes::132133 def the_earth_is_flat():134 """There is no curve! Also, human cloning centers."""135136::137138 def well_documented_utility():139 """Lorem ipsum dolor sit amet, consectetur adipiscing elit,140 sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.141 Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris142 nisi ut aliquip ex ea commodo consequat.143 """144145.. _PEP8: https://www.python.org/dev/peps/pep-0008/146.. _line continuations: https://www.python.org/dev/peps/pep-0008/#indentation147148Documentation Contributions
45 unmodified lines