R1722: Consider using sys.exit() (consider-using-sys-exit) code example Example: exit python script import sys sys.exit()