diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2012-05-16 11:25:34 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2012-05-16 11:44:18 -0500 |
| commit | 90f9f1dfa086f24975b4a11df9c7b46a07c430af (patch) | |
| tree | 82c638fa2541561d427d4e35ba91b89055761d32 /HACKING | |
| parent | d6a27627464a36f86ce63a81c733132231064536 (diff) | |
| download | python-openstackclient-90f9f1dfa086f24975b4a11df9c7b46a07c430af.tar.gz | |
Clean up tenant and server
* remove '_' from class names
* add class name to log instances
* some cleanups to HACKING
Change-Id: I1f6334318ee0d7d83cd3cea0e71ba4f05dd2b5c5
Diffstat (limited to 'HACKING')
| -rw-r--r-- | HACKING | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,5 +1,5 @@ -Nova Style Commandments -======================= +OpenStack Style Commandments +============================ Step 1: Read http://www.python.org/dev/peps/pep-0008/ Step 2: Read http://www.python.org/dev/peps/pep-0008/ again @@ -23,7 +23,6 @@ Imports \n {{begin your code}} - General ------- - thou shalt put two newlines twixt toplevel code (funcs, classes, etc) @@ -33,7 +32,6 @@ General - thou shalt not name anything the same name as a builtin or reserved word - thou shalt not violate causality in our time cone, or else - Human Alphabetical Order Examples --------------------------------- :: @@ -54,7 +52,6 @@ Docstrings ---------- """A one line docstring looks like this and ends in a period.""" - """A multiline docstring has a one-line summary, less than 80 characters. Then a new paragraph after a newline that explains in more detail any |
