Skip to content

Conversation

@ichard26
Copy link
Member

We aren't writing performance critical code here, and these lint rules are meant for users looking to micro-optimize their code (as said in the Ruff documentation). Sometimes, Ruff asks to transform for loops into comprehensions, worsening readability.

@ichard26 ichard26 added the skip news Does not need a NEWS file entry (eg: trivial changes) label Nov 15, 2025
We aren't writing performance critical code here, and these lint rules
are meant for users looking to micro-optimize their code (as said in the
Ruff documentation). Sometimes, Ruff asks to transform for loops into
comprehensions, worsening readability.
@ichard26 ichard26 force-pushed the remove-perf-lint-rules branch from 1617ffb to fc7d932 Compare November 15, 2025 16:07
@ichard26 ichard26 merged commit ebaa70b into pypa:main Nov 15, 2025
28 checks passed
@ichard26 ichard26 deleted the remove-perf-lint-rules branch November 15, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news Does not need a NEWS file entry (eg: trivial changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants