text Pylint配置文件

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Pylint配置文件相关的知识,希望对你有一定的参考价值。

[MESSAGES CONTROL]
# Disable the message(s) with the given id(s).
# https://docs.pylint.org/en/1.8/technical_reference/features.html
#
# C0103: %s name “%s” doesn’t conform to %s
# C0111: Missing %s docstring
# E1101: %s %r has no %r member%s
# R0901: Too many ancestors (%s/%s)
# R0902: Too many instance attributes (%s/%s)
# R0903: Too few public methods (%s/%s)
# R0904: Too many public methods (%s/%s)
# R0912: Too many branches (%s/%s)
# R0913: Too many arguments (%s/%s)
# R0914: Too many local variables (%s/%s)
# R0915: Too many statements (%s/%s)
# R0916: Too many boolean expressions in if statement (%s/%s)
# W0221: Parameters differ from %s %r method
# W0232: Class has no __init__ method
# W0613: Unused argument %r
# W0631: Using possibly undefined loop variable %r
#
disable = C0103,C0111,E1101,R0901,R0902,R0903,R0904,R0912,R0913,R0914,R0915,R0916,W0221,W0232,W0613,W0631

[TYPECHECK]
generated-members = REQUEST,acl_users,aq_parent,objects,DoesNotExist,_meta,status_code,content,context

以上是关于text Pylint配置文件的主要内容,如果未能解决你的问题,请参考以下文章

如何禁用 Pylint 警告?

[vscode] pylint在虚拟环境下错误告警问题

vscode中PyLint报错Unable to import解决方案

Python - 使用Pylint检查分析代码

Visual Studio Code pylint:无法导入'protorpc'

pycharm中设置pylint工具