ruff
[`flake8-comprehensions`] Skip `C417` for lambdas with positional-only parameters
#25272
Merged

[`flake8-comprehensions`] Skip `C417` for lambdas with positional-only parameters #25272

ntBre merged 4 commits into astral-sh:main from fix/c417-posonly-lambda-arity
thesayakmondal
thesayakmondal flake8_comprehensions/C417: reject lambdas with positional-only param…
1c16c53b
thesayakmondal flake8_comprehensions/C417: add test case for positional-only paramet…
2dc98fe1
astral-sh-bot astral-sh-bot assigned ntBre ntBre 140 days ago
astral-sh-bot astral-sh-bot requested a review from ntBre ntBre 140 days ago
ntBre
ntBre commented on 2026-05-20
astral-sh-bot
ntBre ntBre added rule
thesayakmondal flake8_comprehensions/C417: use parameters.len() for arity check
b2146d21
thesayakmondal
ntBre
ntBre commented on 2026-05-20
thesayakmondal flake8_comprehensions/C417: restore blank lines and remove redundant …
838042cc
thesayakmondal
ntBre
ntBre approved these changes on 2026-05-21
ntBre ntBre changed the title flake8-comprehensions: skip C417 for lambdas with positional-only parameters [`flake8-comprehensions`] Skip `C417` for lambdas with positional-only parameters 139 days ago
ntBre ntBre merged 8a8e35eb into main 139 days ago
thesayakmondal thesayakmondal deleted the fix/c417-posonly-lambda-arity branch 139 days ago
thesayakmondal

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
Labels
Milestone