Skip to content

Commit daf4fc9

Browse files
committed
test/lint: fix inconsistent-return-statement
1 parent 9e6ec54 commit daf4fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ def editor_main(
149149
)
150150
m.setenv("GIT_EDITOR", editor_cmd)
151151

152-
# pylint: disable=inconsistent-return-statements
153152
def main_wrapper():
154153
try:
155154
return main(args, cwd=cwd, input=input)
156155
except Exception as e: # pylint: disable=broad-except
157156
ed.exception = e
157+
return None
158158
finally:
159159
if not ed.exception:
160160
ed.exception = Exception(

0 commit comments

Comments
 (0)