False positive for positional-only-arguments-expected
#8555
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Bug description
a.py:
Configuration
No response
Command used
Pylint output
Expected behavior
No error emitted in this case as the argument passed to the function is part of
**kwargs
.The purpose of this checker is to indicate when an error would occur at runtime, for example:
TypeError: function_with_kwargs() got some positional-only arguments passed as keyword arguments: 'banana'
.However, in this case, there is no error running this Python code.
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: