1. 使用pip来安装Pylint
pip install pylint
2.PyCharm配置Pylint
File > Settings... > Tools > External Tools,点击 + 号添加,如下图配置
Tool Settings 设置
Program:/Users/zhengqi/.pyenv/versions/venv/bin/pylint
Arguments :--output-format=parseable --disable=R --disable=C0102,C0103,C0111,C0301,C0302,C0303,C0304,C0305,W0120,W0123,W0401,W0603,W0612,W0614,W0621,W0622,W0703,E1003,E1101 $FilePath$
Working directory: $FileDir$