diff options
| author | Sylvain <syt@logilab.fr> | 2007-02-18 11:36:38 +0100 |
|---|---|---|
| committer | Sylvain <syt@logilab.fr> | 2007-02-18 11:36:38 +0100 |
| commit | a7ff2043e852738e84d73b3df29f1a7f726f7f8f (patch) | |
| tree | d88075ce01727c68d4c5d7b34f666920c6d3e9c4 /config.py | |
| parent | dcbe9fef06d2b6fc7e7887de0c261b0a14c3a62f (diff) | |
| download | pylint-a7ff2043e852738e84d73b3df29f1a7f726f7f8f.tar.gz | |
lint fixes
Diffstat (limited to 'config.py')
| -rw-r--r-- | config.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -71,6 +71,8 @@ def save_results(results, base): def find_pylintrc(): + """search the pylint rc file and return its path if it find it, else None + """ # is there a pylint rc file in the current directory ? if exists('pylintrc'): return abspath('pylintrc') @@ -83,7 +85,6 @@ def find_pylintrc(): if os.environ.has_key('PYLINTRC') and exists(os.environ['PYLINTRC']): pylintrc = os.environ['PYLINTRC'] else: - USER_HOME = expanduser('~') if USER_HOME == '~' or USER_HOME == '/root': pylintrc = ".pylintrc" else: |
