You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, the lat(t)er is (currently) not (always) enough!
If the repo contains a ruff.toml or .ruff.toml file, ruff will not read pyproject.toml. So even though requires-python may be set in pyproject.toml, you still need to set target-version in ruff.toml or .ruff.toml.
Perhaps that's a ruff bug, but it's still under discussion in an open issue: astral-sh/ruff#10299
No, the lat(t)er is (currently) not (always) enough!
If the repo contains a
ruff.toml
or.ruff.toml
file, ruff will not readpyproject.toml
. So even thoughrequires-python
may be set inpyproject.toml
, you still need to settarget-version
inruff.toml
or.ruff.toml
.Perhaps that's a ruff bug, but it's still under discussion in an open issue: astral-sh/ruff#10299
I noticed this in sphinx-doc/sphinx#12250
The text was updated successfully, but these errors were encountered: