是否可以对特定错误代码进行 pylint?

Is it possible to pylint for a specific error code?

我想针对未使用的导入对项目进行 pylint,以便更轻松地升级模块 (W0611)。

只是通过反复试验弄明白了,仅通过阅读文档有点难以弄清楚:

pylint --disable=all --enable=W0611