How to specify a configuration file for pylint under windows?

On Windows 7, a .pylintrc file in your home directory (typically C:\Users\myusername) will be automatically recognized.

You can create a template using:

pylint --generate-rcfile > .pylintrc

Try setting PYLINTRC env variable.

I use batch:

@echo off
set PYLINTHOME=c:\tools
set PYLINTRC=c:\etc\pylint.conf
rem c:\Python27\python.exe c:\Python27\Lib\site-packages\pylint\lint.py %1 %2 %3 %4 %5 %6 %7 %8 %9
c:\Python27\python.exe c:\Python27\Lib\site-packages\pylint\lint.py %*