I do not have a window to check, but the code uses os.path.expanduser('~') to search for the user's current home directory and looks for the calle .pylintrc file in this directory.
According to python documentation , on Windows, expanduser uses HOME and USERPROFILE if they are installed, otherwise a combination of HOMEPATH and HOMEDRIVE. So my advice is to check the following script outputs in an interactive Python session:
import os print os.path.expanduser('~')
and put the configuration file as .pylintrc in this folder.
Alternatively, if you want to use different configuration files for each project, you should know that if there is a file called pylintrc in the current working directory (without a leading point), then Pylint will use this. If there is a file in the current working directory with With the name __init__.py , Pylint will look in the parent directory until there is such a file, and then find the pylintrc configuration pylintrc . This is done so that you can maintain the project configuration file along with the source code and lauch Pylint from any directory in the source code.
source share