summaryrefslogtreecommitdiff
path: root/pylint/epylint.py
diff options
context:
space:
mode:
authorhippo91 <guillaume.peillex@gmail.com>2017-09-26 17:03:42 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2017-09-26 17:03:42 +0200
commit56a6723f96dddd1e70e668d808e8446fd53b841f (patch)
treecbead24fb86338441114e4cdc9245ac540a8d10c /pylint/epylint.py
parent8dd70cb76439d72ea02ade02ae0dfa028a46619c (diff)
downloadpylint-git-56a6723f96dddd1e70e668d808e8446fd53b841f.tar.gz
Adding a check for ``inconsistent-return-statements`` inside function or methods. (#1641)
Close #1267
Diffstat (limited to 'pylint/epylint.py')
-rwxr-xr-xpylint/epylint.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/epylint.py b/pylint/epylint.py
index 0b714fb4e..fc28aaaf6 100755
--- a/pylint/epylint.py
+++ b/pylint/epylint.py
@@ -158,6 +158,7 @@ def py_run(command_options='', return_std=False, stdout=None, stderr=None):
# Return standard output and error
if return_std:
return six.moves.StringIO(proc_stdout), six.moves.StringIO(proc_stderr)
+ return None
def Run():