gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/doc/pegboard/coding_standard--vegai peg.rst


From: Vesa Kaihlavirta
Subject: [Gzz-commits] gzz/doc/pegboard/coding_standard--vegai peg.rst
Date: Thu, 09 Jan 2003 11:23:27 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Vesa Kaihlavirta <address@hidden>       03/01/09 11:23:27

Modified files:
        doc/pegboard/coding_standard--vegai: peg.rst 

Log message:
        Vegai learns restructuredtext

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/coding_standard--vegai/peg.rst.diff?tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: gzz/doc/pegboard/coding_standard--vegai/peg.rst
diff -u gzz/doc/pegboard/coding_standard--vegai/peg.rst:1.3 
gzz/doc/pegboard/coding_standard--vegai/peg.rst:1.4
--- gzz/doc/pegboard/coding_standard--vegai/peg.rst:1.3 Thu Jan  9 08:55:58 2003
+++ gzz/doc/pegboard/coding_standard--vegai/peg.rst     Thu Jan  9 11:23:26 2003
@@ -3,8 +3,8 @@
 =============================================================
 
 :Author:   Vesa Kaihlavirta
-:Last-Modified: $Date: 2003/01/09 13:55:58 $
-:Revision: $Revision: 1.3 $
+:Last-Modified: $Date: 2003/01/09 16:23:26 $
+:Revision: $Revision: 1.4 $
 :Status:   Current
 :Scope:           Minor
 :Type:     ?
@@ -18,43 +18,44 @@
 
 These apply to all \*.py (and possibly \*.test).
 
-1) Header comments should include full module name of the file (eg.
+1. Header comments should include full module name of the file (eg.
 gzz/modules/pp/demotest.py would have gzz.modules.pp.demotest).
 
-2) Header comments should include authors.
+2. Header comments should include authors.
 
-3) After header comments, rcsid:
-rcsid = "$Id: peg.rst,v 1.3 2003/01/09 13:55:58 Vegai Exp $"
+3. After header comments, rcsid:
+rcsid = "$Id: peg.rst,v 1.4 2003/01/09 16:23:26 Vegai Exp $"
 
-4) After rcsid, the imports (unless there's a good reason to delay
+4. After rcsid, the imports (unless there's a good reason to delay
 importing).
 
     - Prefer "import foo" to "from foo import bar".
     - Prefer "from foo import bar" to "from foo import \*".
-    - No more than one import package in one line, eg.:
+    - No more than one import package in one line, eg.::
         
         import os, sys # NO
 
         import os      # Yes.
         import sys
 
-5) Imports should be grouped in the following order:
+5. Imports should be grouped in the following order:
+
     - standard python imports
     - 3rd party python imports
     - java imports
     - gzz imports
 
-6) All code and data should preferably reside inside a class.
+6. All code and data should preferably reside inside a class.
 
-7) Class names are CapitalizedWords.
+7. Class names are CapitalizedWords.
 
-8) Class methods are mixedCase.
+8. Class methods are mixedCase.
 
-9) Class attributes are lowercase.
+9. Class attributes are lowercase.
 
-10) Tab-size is 4.
+10. Tab-size is 4.
 
-11) Never use tabs.    
+11. Never use tabs.    
 
 
 Questions




reply via email to

[Prev in Thread] Current Thread [Next in Thread]