From 4ea3deda61c8f0e7f14f0b1408a4929abeb30017 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 27 Jun 2025 09:18:19 +0100 Subject: [PATCH] Remove duplicate Python version declarations ruff can automatically detect this [1] now that it is defined in pyproject.toml. mypy defaults to the version of Python used to run mypy [2][3] so we need to keep its configuration around a while longer. [1] https://docs.astral.sh/ruff/settings/#target-version [2] https://mypy.readthedocs.io/en/stable/config_file.html#confval-python_version [3] https://github.com/python/mypy/issues/19349 Change-Id: If5b3e6ff2483d73d5ff54cc28c1558cb9852b464 Signed-off-by: Stephen Finucane --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 404bba04d0..74f93ccb2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -742,7 +742,6 @@ ignore_errors = true [tool.ruff] line-length = 79 -target-version = "py310" [tool.ruff.format] quote-style = "preserve"