新聞中心
這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
創(chuàng)新互聯(lián)Python教程:python中Pylint的信息類型
說(shuō)明

1、*(C)約定,用于違反編程標(biāo)準(zhǔn)。
2、*(R)重構(gòu),針對(duì)不好的代碼口味。
3、*(W)警告python的特定問(wèn)題。
4、*(E)錯(cuò)誤用于代碼中可能的錯(cuò)誤。
5、*(F)致命的。
如果發(fā)生錯(cuò)誤,Pylint將無(wú)法進(jìn)一步處理。
實(shí)例
Output: Using the default text output, the message format is : MESSAGE_TYPE: LINE_NUM:[OBJECT:] MESSAGE There are 5 kind of message types : * (C) convention, for programming standard violation * (R) refactor, for bad code smell * (W) warning, for python specific problems * (E) error, for probable bugs in the code * (F) fatal, if an error occurred which prevented pylint from doing further processing.
以上就是python中Pylint的信息類型,希望對(duì)大家有所幫助。更多Python學(xué)習(xí)指路:創(chuàng)新互聯(lián)python教程
本文教程操作環(huán)境:windows7系統(tǒng)、Python 3.9.1,DELL G3電腦。
網(wǎng)頁(yè)題目:創(chuàng)新互聯(lián)Python教程:python中Pylint的信息類型
URL標(biāo)題:http://www.dlmjj.cn/article/dppsiio.html


咨詢
建站咨詢
