最新版本的 pylint 允许抑制带有人类可读消息 ID 的消息。例如,而不是
class MyTest(unittest.TestCase): # pylint: disable=R0904
...
您可以指定:
class MyTest(unittest.TestCase): # pylint: disable=too-many-public-methods
...
这个 page列出数字消息 ID。但是,我正在寻找消息 id 的人类可读版本的完整列表。在哪里可以找到该列表?
最佳答案
我认为网络上(还)不存在这样的列表,尽管 pylint --list-msgs
会自动生成一个。
关于python - pylint人类可读消息ID列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13955361/