Skip to content

Checking for sys.exit in __main__ #61

@sbrugman

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

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