Disable warning message of pylint

我与影子孤独终老i 提交于 2019-12-12 01:10:09

问题


Checking code with pylint shows so many messages about variable names as follows:

Invalid name "getCurrentChannel" for type method (should match [a-z_][a-z0-9_]{2,30}$)

How can I disable these messages ?


回答1:


pylint --disable=C0103 filename

Running this command will not show messages for "Invalid variable name".



来源:https://stackoverflow.com/questions/21778497/disable-warning-message-of-pylint

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!