Add black configuration

This commit is contained in:
Mylloon 2023-05-28 18:48:03 +02:00
parent 1369edb175
commit 7c8e72fd68
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 12 additions and 0 deletions

View file

@ -11,3 +11,11 @@
```shell ```shell
$ python3 main.py {file} $ python3 main.py {file}
``` ```
---
Pour le développement :
```shell
$ pip install -r requirements.txt
```

3
pyproject.toml Normal file
View file

@ -0,0 +1,3 @@
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format
[tool.black]
target-version = ['py311']

1
requirements.txt Normal file
View file

@ -0,0 +1 @@
black==23.3.0