Changing the number of function arguments when using a decorator does not work. #9505
Labels
Bug 🪲
Decorators
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Bug description
Configuration
No response
Command used
pylint --rcfile rcfile --disable=similarities --jobs jobs paths
Pylint output
Expected behavior
If you use a decorator, you can add an argument of a certain type to the function. But if the argument type does not match the one specified in the decorator, an error will occur. It will also be an error if you don't specify an argument at all.
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: