python - pylint人类可读消息ID列表?

标签 python pylint

最新版本的 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/

相关文章:

python - 在 while 循环中使用条件语句

python - 如何在pylint中禁用 "Using config file"

python - Pylint 未分组导入警告

python - 在 Django 中使用 Pylint 时禁用某些消息

python - 为什么我的pygame声音文件无法播放?

python - 无法导入 Python-Twitter

python - 不可散列对象的无序集合?

python - 限制 pytest 仅运行 pylint 而不是单元测试

macos - -bash : pylint: command not found

python - Jupyter笔记本中的功能单元测试?