pay attention please

This commit is contained in:
Eray Özkural
2006-05-16 15:50:08 +00:00
parent 2f775498c8
commit 9bacf5fad0
+6 -1
View File
@@ -1,5 +1,5 @@
Like every serious project, there are guidelines. Like every serious project, there are guidelines.
Oooooo. "Coding Standards". "Coding Standards" for serious.
Guidelines Guidelines
---------- ----------
@@ -7,6 +7,9 @@ Guidelines
0. Before reading any further please observe 0. Before reading any further please observe
PEP 8: Style Guide for Python Code PEP 8: Style Guide for Python Code
http://www.python.org/peps/pep-0008.html http://www.python.org/peps/pep-0008.html
In particular this means no lameCaps
1. When using dirnames, don't expect the dir to end 1. When using dirnames, don't expect the dir to end
with a trailing slash, and please use the dirnames with a trailing slash, and please use the dirnames
in pisiconfig. Use util.join_path instead of os.path.join in pisiconfig. Use util.join_path instead of os.path.join
@@ -43,6 +46,8 @@ Guidelines
the book. The payoff comes later. the book. The payoff comes later.
13. Same thing goes for premature optimizations. Knuth and Dijkstra 13. Same thing goes for premature optimizations. Knuth and Dijkstra
are watching over your shoulder. :) are watching over your shoulder. :)
14. Always run the unit tests before committing changes to the
mainline development branch in svn trunk.
Unit testing Unit testing