Skip to content

Commit

Permalink
Create TERMINATING_FUNCS_QNAMES (pylint-dev#7825)
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna committed Jan 2, 2023
1 parent f78d606 commit c6fcb0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pylint/checkers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,12 @@
)
)

SINGLETON_VALUES = {True, False, None}

TERMINATING_FUNCS_QNAMES = frozenset(
{"_sitebuiltins.Quitter", "sys.exit", "posix._exit", "nt._exit"}
)


class NoSuchArgumentError(Exception):
pass
Expand Down

0 comments on commit c6fcb0f

Please sign in to comment.