This repository was archived by the owner on Jan 26, 2026. It is now read-only.
Description The following are the general programming guidelines for working on the Pavilion 2.0 branch.
Follow PEP 8 style guidelines, even the parts you don't like.
Write docstrings using sphinx style for everything. The Yaml_config library is a good example.
Stay as python3 compatible as possible, even though we're in 2.7. Import the following from future in all modules, and use them (where appropriate):
print_statement
division
unicode_literals
Keep modules fairly independent from each other.
Write regression/unit tests (made a lot easier by independent modules...)
Write documentation (in sphinx markup) for both users and contributors.
Push changes to separate branches, and then put in a merge request.
Merge must be approved by a different developer. Unit tests must pass.
Expect and use unicode strings everywhere, for python3 compatibility.
Doc strings Reactions are currently unavailable
The following are the general programming guidelines for working on the Pavilion 2.0 branch.
Doc strings