Skip to content

Commit

Permalink
Work around ruff issue
Browse files Browse the repository at this point in the history
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
own default target, which is currently Python 3.9.
  • Loading branch information
DimitriPapadopoulos committed Feb 12, 2025
1 parent fa71c83 commit 23df16d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
extend = "ruff_defaults.toml"

# https://github.com/astral-sh/ruff/issues/10299
target-version = "py38"

# https://github.com/astral-sh/ruff/issues/8627
exclude = [".git", ".mypy_cache", ".ruff_cache", ".venv", "dist"]

Expand Down

0 comments on commit 23df16d

Please sign in to comment.