The detection of __name__ == "__main__" (#2) has been implemented in #60
This opens the door for additionally checking if sys.exit is present (as suggested here).
Would work nicely with: https://pylint.pycqa.org/en/latest/user_guide/messages/refactor/consider-using-sys-exit.html