Skip to content

Commit de04d74

Browse files
Work around ruff issue
The minimum Python version is Python 3.8. From `pyproject.toml`: requires-python = ">=3.8" However, `ruff.toml` shadows `pyproject.toml`, prompting ruff to use its default target, which is Python 3.9.
1 parent fa71c83 commit de04d74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ruff.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
extend = "ruff_defaults.toml"
22

3+
# https://github.com/astral-sh/ruff/issues/10299
4+
target-version = "py38"
5+
36
# https://github.com/astral-sh/ruff/issues/8627
47
exclude = [".git", ".mypy_cache", ".ruff_cache", ".venv", "dist"]
58

0 commit comments

Comments
 (0)