How to run Pylint with PyCharm

2019-01-30 18:11发布

I want to configure pylint as an external tool on my entire project directory for a python project that I'm working on. I've tried to use the repository as a module with __init__.py and without, and its not working either way.

I'm having difficulty setting up pylint to run with PyCharm. I know that I should be running it as an external tool, however the settings confuse me.

The authoritative source on their documentation is broken, so I can't check that up either.

7条回答
走好不送
2楼-- · 2019-01-30 19:02

You can try this Pylint PyCharm plugin:

Pylint PyCharm screenshot

provides both real-time and on-demand scanning of Python files with Pylint from within PyCharm/IDEA.

Once you have it installed, the real-time inspection works automatically. For the on-demand you have several options that go from just checking the current open file to scan the entire project: enter image description here

(Just for the sake of transparency, I am the developer)

查看更多
登录 后发表回答