summaryrefslogtreecommitdiff
path: root/pylint/config.py
diff options
context:
space:
mode:
authorJohn Kirkham <jakirkham@gmail.com>2015-05-27 14:08:41 -0400
committerJohn Kirkham <jakirkham@gmail.com>2015-05-27 14:08:41 -0400
commite56b40dcb308e15f57bf2788c58a1dbee780088d (patch)
tree42b97ef9bba42a7c99302ac769b393d379d8f9e1 /pylint/config.py
parent39e3d11224a11c30212b9d975b578956e070093d (diff)
downloadpylint-e56b40dcb308e15f57bf2788c58a1dbee780088d.tar.gz
pylint/config.py: Check for `.pylintrc`, as well.
Diffstat (limited to 'pylint/config.py')
-rw-r--r--pylint/config.py2
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')):