Search code examples
pythonpylint

Specify a list of arguments in the pylintrc file for "unused-argument"


Can I specify a list of arguments in the pylintrc file instead of disabling unused-argument altogether?

I need it to avoid messages like this:

W0613: Unused argument 'evt' (unused-argument)


Solution

  • The --ignored-argument-names option should do what you want.