bandit bandit - 1 month ago 18
Python Question

For Pylint, is it possible to have a different pylintrc file for each Eclipse project?

I saw I can change it per Eclipse instance using this solution.
I would like to set it per project. Is it possible?

Answer

This is no eclipse specific, but it may help anyway:

  • you may specify pylintrc using a command line option (--rcfile=...)
  • else the lookup rules are the following:

    1. pylintrc file in the current directory
    2. if the current directory is a package, search pylintrc in parent package (recursively)
    3. PYLINTRC environment variable
    4. ~/.pylintrc
    5. /etc/pylintrc

    1 and 2 may help.