pylint中的I1101是什么意思
What does I1101 mean in pylint
I
在pylint中是什么意思?我之前没有看到以I
开头的错误信息。
基于https://docs.pylint.org/en/1.6.0/tutorial.html,I
不在以下列表中
* (C) convention, for programming standard violation
* (R) refactor, for bad code smell
* (W) warning, for python specific problems
* (E) error, for much probably bugs in the code
* (F) fatal, if an error occurred which prevented pylint from doing
它与 C++ 扩展有关。
Consider adding this module to extension-pkg-whitelist if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member)
我在源码中找到了(Pylint版本2.6.0):
"I1101": (
"%s %r has no %r member%s, but source is unavailable. Consider "
"adding this module to extension-pkg-whitelist if you want "
"to perform analysis based on run-time introspection of living objects.",
"c-extension-no-member",
"Used when a variable is accessed for non-existent member of C "
"extension. Due to unavailability of source static analysis is impossible, "
"but it may be performed by introspecting living objects in run-time.",
还有错误代码列表here,包括“I”。
至于I
是什么意思:
如果您可以重现该消息,那么我建议生成 Pylint 报告,然后打印一个列表,其中包含您的结果的所有错误类别。希望 I
类别也是如此。
要启用报告,当您 运行 Pylint 只需添加标志 -rn
或 --reports=y
This 文档可能会帮助您了解更多,因此您可以根据需要禁用此错误。
I
在pylint中是什么意思?我之前没有看到以I
开头的错误信息。
基于https://docs.pylint.org/en/1.6.0/tutorial.html,I
不在以下列表中
* (C) convention, for programming standard violation
* (R) refactor, for bad code smell
* (W) warning, for python specific problems
* (E) error, for much probably bugs in the code
* (F) fatal, if an error occurred which prevented pylint from doing
它与 C++ 扩展有关。
Consider adding this module to extension-pkg-whitelist if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member)
我在源码中找到了(Pylint版本2.6.0):
"I1101": (
"%s %r has no %r member%s, but source is unavailable. Consider "
"adding this module to extension-pkg-whitelist if you want "
"to perform analysis based on run-time introspection of living objects.",
"c-extension-no-member",
"Used when a variable is accessed for non-existent member of C "
"extension. Due to unavailability of source static analysis is impossible, "
"but it may be performed by introspecting living objects in run-time.",
还有错误代码列表here,包括“I”。
至于I
是什么意思:
如果您可以重现该消息,那么我建议生成 Pylint 报告,然后打印一个列表,其中包含您的结果的所有错误类别。希望
I
类别也是如此。 要启用报告,当您 运行 Pylint 只需添加标志-rn
或--reports=y
This 文档可能会帮助您了解更多,因此您可以根据需要禁用此错误。