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?

有帮助吗?

解决方案

@torek was right.

The pylint version I was using was 0.25.2.

pylint version 0.28.0 (Current version) works fine.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top