Skip to content

v3.1.0 🌈 Determine ruff version from optional or dependency groups

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jan 21:50
· 10 commits to refs/heads/main since this release
f14634c

Changes

Big thank you to @AA-Turner for expanding the pyproject.toml parsing to also find the ruff version to use in the following scenarios:

[dependency-groups]
dev = [
    { include-group = "docs" },
    { include-group = "lint" },
]
docs = [
    "sphinx",
]
lint = [
    "ruff==0.8.3",
]
[project.optional-dependencies]
lint = [
    "ruff==0.8.3",
]

πŸš€ Enhancements

  • Read the [project.optional-dependencies] and [dependency-groups] tables @AA-Turner (#66)