3

I'm trying to get Eclipse to recognise the PyLint configuration file that I use in Jenkins. At the moment Eclipse pylint swamps me with useless errors. I've tried passing in the rcfile parameter. So...

Windows > preferences > PyDev > PyLint

Then in "arguments to pass to pylint" I have --rcfile=absolute_path_to_pylint.rc

This has no effect.

I've read that pylint will work if you drop a config file in your home directory, or set an Environmental variable (See: Permanent Config File in Pylint) but both these solutions are a little unwieldy.

Any ideas?

Community
  • 1
  • 1
powlo
  • 2,538
  • 3
  • 28
  • 38
  • Did you find a solution? I'm encountering the same issue right now with Eclipse Indigo and PyDev 2.7.3 – Jovik May 20 '13 at 10:37
  • I found the reason for my issue - I had PEP8 enabled, which returned its own warnings and errors; that's why I had an impression of pylint not recognizing --rcfile flag. Disabled PEP8 and everything works as expected – Jovik May 20 '13 at 11:17

1 Answers1

1

Your setup should work IMO. Double check that you don't have a typo in the path and that there is no syntax error in the rcfile preventing pylint from loading it (this could be related to a different pylint version being used in pydev and jenkins for instance).

If this still does not work, I think you should take the discussion to the pydev mailing list.

gurney alex
  • 13,247
  • 4
  • 43
  • 57