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

1、*(C)約定,用于違反編程標(biāo)準(zhǔn)。
2、*(R)重構(gòu),針對不好的代碼口味。
3、*(W)警告python的特定問題。
4、*(E)錯誤用于代碼中可能的錯誤。
5、*(F)致命的。
如果發(fā)生錯誤,Pylint將無法進一步處理。
實例
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的信息類型,希望對大家有所幫助。更多Python學(xué)習(xí)指路:創(chuàng)新互聯(lián)python教程
本文教程操作環(huán)境:windows7系統(tǒng)、Python 3.9.1,DELL G3電腦。
名稱欄目:創(chuàng)新互聯(lián)Python教程:python中Pylint的信息類型
本文路徑:http://www.5511xx.com/article/dppsiio.html


咨詢
建站咨詢
