Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
Changes
Page history
Add formatting instructions
authored
Oct 10, 2021
by
galberding
Show whitespace changes
Inline
Side-by-side
Development.md
View page @
46a25044
...
...
@@ -65,3 +65,14 @@ def myfunc(name: str) -> None:
"""
```
All special commands are listed
[
here
](
https://www.doxygen.nl/manual/commands.html#cmddef
)
.
## Formatting
In order to keep a consistent style the code formatter
[
yapf
](
https://github.com/google/yapf
)
is used.
Install it with:
```
bash
pip
install
yapf
```
In order to quickly format all files in the repository issue
```
bash
yapf
--style
=
'{based_on_style: facebook, indent_width: 4, split_before_logical_operator: True}'
-r
-p
-i
.
```