-
Notifications
You must be signed in to change notification settings - Fork 33
/
CodingStyle.txt
38 lines (26 loc) · 927 Bytes
/
CodingStyle.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
TODO Target.
I'm fed up with mixed cases.
Naming examples
Type Public Internal
Packages lower_with_under
Modules lower_with_under _lower_with_under
Classes CapWords _CapWords
Exceptions CapWords
Functions lower_with_under() _lower_with_under()
Global/Class Constants CAPS_WITH_UNDER _CAPS_WITH_UNDER
Global/Class Variables lower_with_under _lower_with_under
Instance Variables lower_with_under _lower_with_under/__lower_with_under
Method Names* lower_with_under() _lower_with_under()/__lower_with_under()
Function/Method Params lower_with_under
Local Variables lower_with_under
Docstrings:
def method():
"""one liner docstring"""
pass
class B(object):
"""one liner docstring"""
pass
whitespaces:
4 spaces
x = b
80 cols