I haven't been able to get pylint to run on my code. When i run it, it produces a set of warnings about the library modules I use (shutil and unittest), but nothing on my own modules, even when I've seeded them with things to catch.
Is it the case that I have to set up my PYTHONPATH environment variable for pylint independently of the PYTHONPATH settings in my Run setup? I have no problem running my code directly or in the debugger, so I'm sure that PYTHONPATH setting is correctt. And obviously pylint is installed and runnable, since it produces messages about the library, so the only thing I can think of is a separate PYTHONPATH setup. If that's not the problem, then any other suggestions as what to look at?
Many thanks,
Gary
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I haven't been able to get pylint to run on my code. When i run it, it produces a set of warnings about the library modules I use (shutil and unittest), but nothing on my own modules, even when I've seeded them with things to catch.
Is it the case that I have to set up my PYTHONPATH environment variable for pylint independently of the PYTHONPATH settings in my Run setup? I have no problem running my code directly or in the debugger, so I'm sure that PYTHONPATH setting is correctt. And obviously pylint is installed and runnable, since it produces messages about the library, so the only thing I can think of is a separate PYTHONPATH setup. If that's not the problem, then any other suggestions as what to look at?
Many thanks,
Gary
Yes, PyLint uses the system PYTHONPATH and not the PYTHONPATH you can set in the run enviroment.
I'm already planning the 'integration' of PYTHONPATHs - for code completion, run and others.
Regards,
Fabio