This is not Eclipse specific, but it may help anyway. According to pylint command line options:
You can specify a configuration file on the command line using the --rcfile
option. Otherwise, Pylint searches for a configuration file in the following order and uses the first one it finds:
pylintrc
in the current working directory
.pylintrc
in the current working directory
- If the current working directory is in a Python module, Pylint searches up the hierarchy of Python modules until it finds a
pylintrc
file. This allows you to specify coding standards on a module-by-module basis. Of course, a directory is judged to be a Python module if it contains an __init__.py
file.
- The file named by environment variable
PYLINTRC
- If you have a home directory which isn’t
/root
:
.pylintrc
in your home directory
.config/pylintrc
in your home directory
/etc/pylintrc
Points 1 or 3 above may help.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…