From fd947fd1b22ffac617a95232164a3cd5f83b644a Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Tue, 11 Jun 2024 11:56:54 +0100 Subject: [PATCH] Don't black generated files --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9054c41..4510119 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,3 +34,9 @@ where = ["src"] [tool.setuptools_scm] write_to = "src/beziers/_version.py" git_describe_command = "git describe --match 'v*' --tags" + +[tool.black] +target-version = ["py310"] +extend-exclude = ''' +_version.py +'''