(feat) update pyproject.toml

This commit is contained in:
cardosofede
2024-07-16 18:09:01 +03:00
parent dec22c73f1
commit ff35581111

17
pyproject.toml Normal file
View File

@@ -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" }] }
]