From ff35581111f791f3139df8f789fcb0bccc7d7cdb Mon Sep 17 00:00:00 2001 From: cardosofede Date: Tue, 16 Jul 2024 18:09:01 +0300 Subject: [PATCH] (feat) update pyproject.toml --- pyproject.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d4d8e16 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,17 @@ +[build-system] +requires = ["setuptools>=42", "wheel"] +build-backend = "setuptools.build_meta" + +[tool.black] +line-length = 120 +target-version = ["py38"] + +[tool.isort] +profile = "black" + +[tool.pre-commit] +repos = [ + { repo = "https://github.com/pre-commit/pre-commit-hooks", rev = "v3.4.0", hooks = [{ id = "check-yaml" }, { id = "end-of-file-fixer" }] }, + { repo = "https://github.com/psf/black", rev = "21.6b0", hooks = [{ id = "black" }] }, + { repo = "https://github.com/pre-commit/mirrors-isort", rev = "v5.9.3", hooks = [{ id = "isort" }] } +]