Skip to content

Checking for sys.exit in __main__ #61

Open

Description

@sbrugman

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions