pylint 人类可读消息 ID 列表? [英] List of pylint human readable message ids?
本文介绍了pylint 人类可读消息 ID 列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
最近版本的 pylint 允许抑制带有人类可读消息 ID 的消息.例如,代替
Recent versions of pylint allow for suppressing messages with human readable message ids. For example, instead of
class MyTest(unittest.TestCase): # pylint: disable=R0904
...
您可以指定:
class MyTest(unittest.TestCase): # pylint: disable=too-many-public-methods
...
此页面列出了数字消息 ID.但是,我正在寻找消息 ID 的人类可读版本的完整列表.在哪里可以找到该列表?
This page lists the numeric message ids. However, I'm looking for a complete list of the human readable versions of the message ids. Where can I find that list?
推荐答案
我认为网络上不存在(还)这样的列表,尽管 pylint --list-msgs
会自动生成一个.
I don't think there exists (yet) such list on the web, though pylint --list-msgs
automatically produces one.
这篇关于pylint 人类可读消息 ID 列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文