Pylint in Sublime Text 2

So, I have been using Sublime for a while as a simple text editor, but I dare to ground plugins to work, and I am faced with the problem of getting pylint to work. In particular, I installed it and the Sublime package manager works for me, but I'm not sure how to include paths in my sublime settings.

I did not find very useful documentation on this, but if you want to point me to this, this will be a perfectly acceptable answer. My main problem is that currently every time I save the file, the following error message appears:

"Please define the full path to 'lint.py' in the settings"

I understand this error message, which is great, I just have no idea where the sublime settings or the standard format for determining the path. Any help would be appreciated.

+4
source share
4 answers

I had the same problem. I found this comes from the "Pylinter" package. I removed Pylinter and added SublimeLinter, it covers more than python and is well used. I enjoy it quite a bit.

+4
source

From the command line, simply run:

 sudo easy_install pylint sudo easy_install pep8 

After that, restart your sublime.

+2
source

Today I face the same situation. In my case, this is because I have not installed pylint on my system yet. It works fine after I installed pylint via pip. Just for other people.

0
source

Source: https://habr.com/ru/post/1483175/


All Articles