pylint 安装和使用方法

一、ubuntu安装:$ sudo apt-get install pylint

 

二、pylint使用方法:https://pylint.readthedocs.io/en/stable/

1、使用检测:$ pylint [path]

2、pylint 输出含义:

The message type can be:

  • [I]nformational messages that Pylint emits (do not contribute to your analysis score)
  • [R]efactor for a "good practice" metric violation
  • [C]onvention for coding standard violation
  • [W]arning for stylistic problems, or minor programming issues
  • [E]rror for important programming issues (i.e. most probably bug)
  • [F]atal for errors which prevented further processing

你可能感兴趣的:(linux)