level 11
然后我就想把哪些绿色的线给搞掉,强迫症不能忍
就上网搜报错的信息,没找到什么解决的办法,发现了一个讨论pylint的博客:http://nedbatchelder.com/blog/200806/pylint.html
里面说:
But pylint's best feature is its configurability. In the settings file, you can disable individual messages:
# Disable the message(s) with the given id(s).
disable-msg=C0103,R0903,W0142,C0324,R0201,C0111,W0232,W0702,W0703,W0201
翻译过来就是pylint好就好在可以配置,可以禁用单个消息。
比如上图提示我有问题的W0703,C0111,都可以把报错关掉。
2017年02月06日 20点02分
