Skip to content

Commit

Permalink
Add a section for Jinja macros in style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Oct 25, 2021
1 parent c5b20c9 commit 4f08491
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/manual/developer/04_style_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
* Maximum line length should be 99 characters

## Jinja
* Shall have a docstring comment descripbe
* Shall use 4-space indentation
* Shall have a docstring comment describe what the macro
* Shall have a docstring comment describing all parameters and their types
* Types shall be Python class names. (E.g. `str`, `bool`, `dict`, etc)

## Python
* All Python files should follow [PEP 8](https://www.python.org/dev/peps/pep-0008/)
Expand Down

0 comments on commit 4f08491

Please sign in to comment.