consider-using-generator error message ignores default arguments #8563
Labels
Documentation 📗
Minor 💅
Polishing pylint is always nice
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Bug description
The built-in
min
function of python has multiple ways of calling it, as described in the documentation.While this
does correctly trigger the pylint error, I am also getting the error for this
There is no other way for no.2, and I think that the linter just does not take this way of calling min into account.
Configuration
No response
Command used
Pylint output
Expected behavior
No error.
Pylint version
OS / Environment
Linux my-x1-yoga 6.1.23-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 06 Apr 2023 10:56:12 +0000 x86_64 GNU/Linux
(Arch Linux)
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: