flake8-executable icon indicating copy to clipboard operation
flake8-executable copied to clipboard

Checking for sys.exit in __main__

Open sbrugman opened this issue 2 years ago • 0 comments

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

sbrugman avatar Jan 16 '23 16:01 sbrugman