From f718fa14a30d9c8837eeee341344a0cd04ef0038 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 18 Nov 2024 00:19:47 +0100 Subject: [PATCH] Pin target-version for black to prevent code reformatting --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index eb227057565..c311f5d042c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -152,3 +152,7 @@ ignore-words-list = 'te,assertIn' # TODO(3.13): Remove aiohttp.helpers once https://github.com/python/cpython/pull/106771 # is available in all supported cpython versions exclude-modules = "(^aiohttp\\.helpers)" + +[tool.black] +# TODO: Remove target-version and reformat code +target-version = ["py35"]