From 7c8e72fd686fb36821319724d25a62ef21af701f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 28 May 2023 18:48:03 +0200 Subject: [PATCH] Add black configuration --- README.md | 8 ++++++++ pyproject.toml | 3 +++ requirements.txt | 1 + 3 files changed, 12 insertions(+) create mode 100644 pyproject.toml create mode 100644 requirements.txt diff --git a/README.md b/README.md index 495d8ee..90ddce0 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,11 @@ ```shell $ python3 main.py {file} ``` + +--- + +Pour le développement : + +```shell +$ pip install -r requirements.txt +``` diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4866e26 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format +[tool.black] +target-version = ['py311'] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3619672 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +black==23.3.0