Skip to content

Conversation

chirizxc
Copy link
Contributor

@chirizxc chirizxc commented Jun 1, 2025

Summary

/closes #18405

Test Plan

update snapshots

Copy link
Contributor

github-actions bot commented Jun 1, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@chirizxc chirizxc changed the title [perflint] fix missing parentheses for lambda and ternary conditions (PERF401, PERF403) [perflint] fix missing parentheses for lambda and ternary conditions (PERF401, PERF403) Jun 1, 2025
Copy link
Collaborator

@dylwil3 dylwil3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this looks great!

@dylwil3 dylwil3 merged commit c0bb83b into astral-sh:main Jun 5, 2025
34 checks passed
@ntBre ntBre added bug Something isn't working fixes Related to suggested fixes for violations labels Jun 5, 2025
@chirizxc chirizxc deleted the fix/manual-list-comprehension branch June 18, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixes Related to suggested fixes for violations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fixes for PERF401 and PERF403 should parenthesize lambdas and ternary expressions
3 participants