-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
I am using ruff.toml for my configuration and my Python package is configured with pyproject.toml.
In my ruff configuration, I omitted target_version.
I am using ruff v0.0.270.
When I launch ruff check -v . from the root of my repository I get,
[2023-06-06][13:32:44][ruff::settings::pyproject][DEBUG]
project.requires_pythoninpyproject.tomlwill not be used to settarget_versionwhen usingruff.toml.
If the expected behavior (infer from pyproject.toml) is not supported from ruff.toml, I think that the documentation should be clearer.
If instead this is supposed to work maybe it's a bug or I missed something...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation