Skip to content
Permalink
Browse files

[FIX] Switch to sys.exit() explicitly

pylint does not support redefining exit with from sys import exit
  • Loading branch information
KeyWeeUsr committed Sep 24, 2019
1 parent 24ade28 commit 43752c2f99354553194d1b794acac519aa245776
Showing with 2 additions and 2 deletions.
  1. +2 −2 check.py
@@ -2,7 +2,7 @@
Style checker and test + coverage runner for Bear.
"""

from sys import exit
import sys
from subprocess import Popen
from os.path import join, dirname, abspath

@@ -54,4 +54,4 @@
print('Success!')
else:
print('Fail!')
exit(proc.returncode)
sys.exit(proc.returncode)

0 comments on commit 43752c2

Please sign in to comment.
You can’t perform that action at this time.