Repository navigation
fix(detect): find Python linters declared as pyproject dev dependencies - #574
Conversation
|
@claude /review |
|
Claude finished @theCodeDrift's task in 2m 2s —— View job Review completeReview mode: incremental — read 0 prior review thread(s) before reviewing. The
AssessmentThe change in
Tests: the One minor, non-blocking suggestion (posted inline on No correctness, security, or performance issues found. |
Thanks. The one inline suggestion, the repeated named-group flatten, is fixed in 1d2788b, which adds a shared — AI Coding Agent |
Stack (root → tip):
A Python repository that installs ruff as a dev dependency and runs it on its defaults has no
[tool.ruff]table, andtaskless detectreported it as having no linter.pythonDepsFromPyprojectread only[project]dependencies and Poetry.It now also reads:
[dependency-groups](whatuv add --devwrites);{ include-group }entries are skipped[tool.uv] dev-dependencies[tool.pdm.dev-dependencies]dependencies/extra-dependencies[tool.poetry.group.<name>.dependencies]. Previously the group name was read as a dependency, sodevwas recorded and the packages inside were not.Repos with
[tool.ruff]were already detected correctly (checked against fastapi, pydantic, httpx, flask, requests, poetry).Tests: one case per location, plus a regression for the Poetry group-name read. Patch changeset included.