Search code examples
pythonpylint

pylint status code with ignore directives


The pylint exit status code still returns that an error message was issued (ret | 2) even if I explicitly ignore the error with:

# pylint: disable=E0611

Is there any way I can change this behavior?


Solution

  • @torek was right.

    The pylint version I was using was 0.25.2.

    pylint version 0.28.0 (Current version) works fine.