Add black configuration
This commit is contained in:
parent
1369edb175
commit
7c8e72fd68
3 changed files with 12 additions and 0 deletions
|
@ -11,3 +11,11 @@
|
|||
```shell
|
||||
$ python3 main.py {file}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Pour le développement :
|
||||
|
||||
```shell
|
||||
$ pip install -r requirements.txt
|
||||
```
|
||||
|
|
3
pyproject.toml
Normal file
3
pyproject.toml
Normal 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
1
requirements.txt
Normal file
|
@ -0,0 +1 @@
|
|||
black==23.3.0
|
Reference in a new issue