def add_error(self, node, message=None):
"""Add an error caused by a node to the list of errors for pep8."""
message = message or self.CHECK_DESC
error = (node.lineno, node.col_offset, message, self.__class__)
self._errors.append(error)
checks.py 文件源码
python
阅读 28
收藏 0
点赞 0
评论 0
评论列表
文章目录