From 8b112bd80002e542b59f87f3009ce638ddd7bcdd Mon Sep 17 00:00:00 2001 From: glopesdev Date: Mon, 30 Oct 2023 11:34:42 +0000 Subject: [PATCH] Add black to pyproject toml --- pyproject.toml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 42d535d..39cf14b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,8 @@ classifiers = [ [project.optional-dependencies] dev = [ "datamodel-code-generator", - "setuptools_scm" + "setuptools_scm", + "black" ] [build-system] @@ -49,3 +50,16 @@ include-package-data = true include = ["harp*"] [tool.setuptools_scm] + +[tool.black] +line-length = 88 +target-version = ['py39'] +include = '\.pyi?$' +extend-exclude = ''' +# A regex preceded with ^/ will apply only to files and directories +# in the root of the project. +( + ^/LICENSE + ^/README.md +) +'''