pylint: fix R1710 inconsistent-return-statements

parent d4ecb480
......@@ -61,6 +61,7 @@ def get_qmin_config(path):
return True
if re.search(r"^\s*query-minimization:\s*(off|no)", line):
return False
return None
def scenarios(paths, configs):
......
......@@ -581,6 +581,7 @@ class Step:
return self.__query(ctx, tcp=tcp, choice=choice, source=source)
elif self.type == 'CHECK_OUT_QUERY': # ignore
self.log.info('')
return None
elif self.type == 'CHECK_ANSWER' or self.type == 'ANSWER':
self.log.info('')
return self.__check_answer(ctx)
......@@ -589,6 +590,7 @@ class Step:
return self.__time_passes()
elif self.type == 'REPLY' or self.type == 'MOCK':
self.log.info('')
return None
# Parser currently doesn't support step types LOG, REPLAY and ASSERT.
# No test uses them.
# elif self.type == 'LOG':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment