diff options
-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 490f932..ba4e865 100644 --- a/pylint/config.py +++ b/pylint/config.py @@ -97,6 +97,8 @@ def find_pylintrc(): curdir = os.path.abspath(os.path.join(curdir, '..')) if os.path.isfile(os.path.join(curdir, 'pylintrc')): return os.path.join(curdir, 'pylintrc') + if os.path.isfile(os.path.join(curdir, '.pylintrc')): + return os.path.join(curdir, '.pylintrc') if 'PYLINTRC' in os.environ and os.path.exists(os.environ['PYLINTRC']): pylintrc = os.environ['PYLINTRC'] else: |