Skip to content
Snippets Groups Projects
Commit 03d17159 authored by Moul's avatar Moul
Browse files

doc: remove black §, covered into pre-commit §

parent 8c629d70
No related branches found
No related tags found
1 merge request!188Clarify readme and contributing documentation (#105, #155)
......@@ -63,18 +63,6 @@ set -xg GITLAB_PRIVATE_TOKEN ""
Check out #169 for more details.
### Black formatting
We are using [Black](https://github.com/psf/black) formatter tool.
Run Black on a Python file to format it:
```bash
poetry run black duniterpy/file.py
```
With `pre-commit`, Black is called on staged files, so the commit should fail in case black would make changes.
You will have to add Black changes in order to commit your changes.
## Tests
We are using [`pytest` framework](https://docs.pytest.org/).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment