Skip to content

Contributing: Code Style

Basile Maret edited this page Jan 14, 2020 · 1 revision

We use black code style since it is compliant with PEP guidelines and the black formatter makes it easy to format the code automatically. We choose a line length of 140 to better use modern wide screens.

If you want to use the black formatter, install it with

pip install black

and then run the command

black --line-length 140 . -t py37

Clone this wiki locally