Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up Pylint with PyDev

Tags:

I have installed pylint via easy_install. I can run pylint <filename> with success. But pydev refuses to use it.

  • I checked "use pylint"
  • I configured correct path
  • I updated my python interpreter in eclipse to have pylit in pythonpath
  • I use Eclipse Galileo
  • I have build automatically checked
  • I tried cleaning whole project and no errors

What am I doing wrong?

like image 501
Kugel Avatar asked Mar 29 '10 13:03

Kugel


People also ask

How do you set up Pylint?

To install Pylint, run the following command: pip3 install pylint. If python --version returned 3. x.x , run: pip install pylint.

How do I start programming in PyDev?

Create a new projectGo to File → New → PyDev Project to start a wizard. In the next window that appears, enter the name of your project and select "python" and 3.0"; as the type. Make sure "create default 'src' folder and add it to the pythonpath?" is selected. Click Finish.


1 Answers

I'm guessing you may need to mark the folder that contains your code as a source folder. You can do this under project properties.

  • Project->Properties->PyDev-PYTHONPATH
  • add relevant folders to the list of sources.
like image 123
ariddell Avatar answered Oct 23 '22 05:10

ariddell