In general, code should follow the style guide established in the individual files. Below are some guidelines for each individual language.
- Python code should use spaces for indentation.
- The indentation level should be 4 spaces.
- Code should be formatted using
autopep8
as the Python formatter.
- Shell scripts should use
bash
as the shell. - Indentations should be 4 spaces.
- All variables should be
${name}
. - Shell functions should use the
function
keyword.
Commit messages should follow the format outlined below:
Single line short descriptions
Long description explaining the changes. This should
explain the motivation behind the changes, not what changed.
Think "Why?", not "What?"