From 49bbd096cb62ab168fa6818c7cb972a486fdfb12 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 27 Jun 2025 18:12:05 +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: Ic93d619e5627020fa8665a809b75ea492c1d241b Signed-off-by: Stephen Finucane --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1d2ae927..54bac773 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,6 @@ packages = [ ] [tool.mypy] -python_version = "3.10" show_column_numbers = true show_error_context = true ignore_missing_imports = true