Changes

Jump to: navigation, search

Programming guidelines

16 bytes added, 01:48, 17 January 2008
m
Fix tab vs space description ("whitespace" includes tabs)
* Write [http://www.python.org/dev/peps/pep-0008/ PEP 8] compatible code! This is important to have a consistent, readable codebase.
* Do not use tabs. Use whitespacespace characters. If you use an editor with tabssettable tab stops, go into the preferences, and change the tab behavior to a number of use spacesonly. In GRAMPS we use 4 spaces for indentation.
* Class headers. Each class should have a simple header to help mark it in the file. This is not used for documentation - it is used to help find the class when multiple classes exist in the same file.
1
edit

Navigation menu