We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ruff: 0.0.267
tuples_list = [ (1, 2), (2, 3), (3, 4), (4, 5), (5, 6), ] max(max(tuples_list))
This raises PLW3301 [*] Nested max calls can be flattened
PLW3301 [*] Nested
calls can be flattened
i don’t see how this can be flattend, if you only call max() once, it will return a tuple instead of the integer
The text was updated successfully, but these errors were encountered:
Thanks, you're right :)
Sorry, something went wrong.
Interestingly, Pylint flags this too.
Successfully merging a pull request may close this issue.
ruff: 0.0.267
This raises
PLW3301 [*] Nested
maxcalls can be flattened
i don’t see how this can be flattend, if you only call max() once, it will return a tuple instead of the integer
The text was updated successfully, but these errors were encountered: