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

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

Dev-X25874
Dev-X25874 flake8_comprehensions/C417: reject lambdas with positional-only param…
1c16c53b
Dev-X25874 flake8_comprehensions/C417: add test case for positional-only paramet…
2dc98fe1
astral-sh-bot astral-sh-bot assigned ntBre ntBre 3 days ago
astral-sh-bot astral-sh-bot requested a review from ntBre ntBre 3 days ago
ntBre
ntBre commented on 2026-05-20
astral-sh-bot
ntBre ntBre added rule
Dev-X25874 flake8_comprehensions/C417: use parameters.len() for arity check
b2146d21
Dev-X25874
ntBre
ntBre commented on 2026-05-20
Dev-X25874 flake8_comprehensions/C417: restore blank lines and remove redundant …
838042cc
Dev-X25874
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 2 days ago
ntBre ntBre merged 8a8e35eb into main 2 days ago
Dev-X25874 Dev-X25874 deleted the fix/c417-posonly-lambda-arity branch 2 days ago
Dev-X25874

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
Labels
Milestone