Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 09a3482b authored by Dorian Turba's avatar Dorian Turba
Browse files

more documentation in README.md

parent 6144c6b6
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,22 @@
## Objective
Run the [Black code formatter](https://github.com/psf/black) on your Python code to ensure it
complies with the coding style guide.
Run [Black](https://github.com/psf/black) on your Python code to ensure it complies with the coding
style guide. Black is configured with `--check --diff --quiet` rules.
### Global Configuration of Black
To add configuration to `black` shared with any other usage of black (such as manual run,
pre-commit, etc), you can use `pyproject.toml` configuration file. Learn more
about [pyproject](https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/)
configuration files.
See this example:
```python
[tool.black]
line-length = 100
```
## How to use it
......
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