Click and pylint

The @click.command decorator edits your functions parameters, but pylint does not know this, since it does not actually run your code.

I don’t think it makes sense to make your code weird just so pylint is happy. Instead, ignore it, or add a comment to disable that warning in the current scope:

# pylint: disable=no-value-for-parameter

Leave a Comment