Open
Description
Current problem
Currently, if unrecognized options are used, pylint
prints a warning message but continues and eventually returns 0. This can be problematic especially when running pylint
in CICD pipelines and pylint updates in registry.
.pylintrc:1: [E0015(unrecognized-option), ] Unrecognized option found: optimize-ast, files-output, no-space-check, function-name-hint, variable-name-hint, const-name-hint, attr-name-hint, argument-name-hint, class-attribute-name-hint, inlinevar-name-hint, class-name-hint, module-name-hint, method-name-hint
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
Desired solution
Return non-zero value when unrecognized options are found or provide an option for enabling this.
Additional context
No response