我知道我可以通过发表评论来禁用 pylint 警告# pylint: disable=XXXX
。
我如何为 pep257 错误做同样的事情?
1 C0110 Exported classes should have docstrings. [pep257]
2 C0110 Exported definitions should have docstrings. [pep257]
我正在编写单元测试并且(我相信)我不需要担心每个测试方法的文档字符串 - 一切都是不言自明的。
我知道我可以通过发表评论来禁用 pylint 警告# pylint: disable=XXXX
。
我如何为 pep257 错误做同样的事情?
1 C0110 Exported classes should have docstrings. [pep257]
2 C0110 Exported definitions should have docstrings. [pep257]
我正在编写单元测试并且(我相信)我不需要担心每个测试方法的文档字符串 - 一切都是不言自明的。