admin管理员组文章数量:1129171
I have a specific warning message that I want to avoid.
Type "IntField" is not assignable to declared type "int"
I want my IDE to stop highlighting this error message. But it looks like I can only deactivate general warning (like AssignementTypeWarning). But if I do that I will not see others AssignementTypeWarning, I just want to hide this one ! Is there a way to do it ?
Example:
from mongoengine import Document, fields, EmbeddedDocument
class AppConfiguration(EmbeddedDocument):
max_history_length: int = fields.IntField(db_field='maxHistoryLength')
本文标签: pythonDeactivate a specific warning on a visual studio code projectStack Overflow
版权声明:本文标题:python - Deactivate a specific warning on a visual studio code project - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736737854a1950345.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论