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