SourceForge has been redesigned. Learn more.
Close

#661 pydev fails to run pylint for one file in dir

1.3.14
closed-works-for-me
nobody
None
5
2008-03-18
2008-03-16
No

Normally when saving a file pydev forces a pylint run on this file. I have six python files in a directory and pylint runs for five of those six files. I can see that from turning on "Redirect Pylint output to console". For the one file pylint is never run, no output appears in the console and the pylint icons don't appear. Pylint worked for that file in the past, then stopped working.

1. In the eclipse GUI the file icon shows it to be a regular python module.
2. Yes, the file's path is in project properties PYTHONPATH.

How do I configure the file to be checked by pylint again?

Pydev 1.3.14
eclipse 3.3.3 (used auto-update feature)

Enclosed find details of my configuration and log file after changing and saving the bad file three times.

Discussion

  • Anonymous

    Anonymous - 2008-03-16

    eclipse configuration details

     
  • Anonymous

    Anonymous - 2008-03-16

    eclipse log

     
  • Anonymous

    Anonymous - 2008-03-16

    Logged In: YES
    user_id=601684
    Originator: YES

    File Added: eclipse.log

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-03-18

    Logged In: YES
    user_id=617340
    Originator: NO

    Try going to the preferences and raising the 'max simultaneous processes for pylint'.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-03-18
    • status: open --> pending
     
  • Anonymous

    Anonymous - 2008-03-18

    Logged In: YES
    user_id=601684
    Originator: YES

    Tried 1,2,3,4 and 10 'max simultaneous processes for pylint'. Behaviour remains the same.

    Just found the problem: pylint is not called for files with a hyphen '-' in the filename.

    Is this intentional?
    Can I reconfigure to run pylint on files with '-' in the name as well?

     
  • Anonymous

    Anonymous - 2008-03-18
    • status: pending --> open
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-03-18

    Logged In: YES
    user_id=617340
    Originator: NO

    That's intentional... a file that has a hyphen is not a valid python module (e.g.: you can "import module-with-hypen"). I think this is managed in pylint itself (and not in pydev).

    Cheers,

    Fabio

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-03-18
    • status: open --> closed-works-for-me