Skip to content

Commit 4ea3ded

Browse files
committed
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] python/mypy#19349 Change-Id: If5b3e6ff2483d73d5ff54cc28c1558cb9852b464 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
1 parent 1b4fe6f commit 4ea3ded

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,6 @@ ignore_errors = true
742742

743743
[tool.ruff]
744744
line-length = 79
745-
target-version = "py310"
746745

747746
[tool.ruff.format]
748747
quote-style = "preserve"

0 commit comments

Comments
 (0)