diff options
author | John Kirkham <jakirkham@gmail.com> | 2015-05-27 14:08:41 -0400 |
---|---|---|
committer | John Kirkham <jakirkham@gmail.com> | 2015-05-27 14:08:41 -0400 |
commit | e56b40dcb308e15f57bf2788c58a1dbee780088d (patch) | |
tree | 42b97ef9bba42a7c99302ac769b393d379d8f9e1 /pylint/config.py | |
parent | 39e3d11224a11c30212b9d975b578956e070093d (diff) | |
download | pylint-e56b40dcb308e15f57bf2788c58a1dbee780088d.tar.gz |
pylint/config.py: Check for `.pylintrc`, as well.
Diffstat (limited to 'pylint/config.py')
-rw-r--r-- | pylint/config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pylint/config.py b/pylint/config.py index ebfe578..213618e 100644 --- a/pylint/config.py +++ b/pylint/config.py @@ -84,6 +84,8 @@ def find_pylintrc(): # is there a pylint rc file in the current directory ? if exists('pylintrc'): return abspath('pylintrc') + if exists('.pylintrc'): + return abspath('.pylintrc') if isfile('__init__.py'): curdir = abspath(os.getcwd()) while isfile(join(curdir, '__init__.py')): |