Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,11 @@ def add_invertible_flag(
title="Advanced options", description="Debug and customize mypy internals."
)
internals_group.add_argument("--pdb", action="store_true", help="Invoke pdb on fatal error")
internals_group.add_argument(
"--show-traceback", "--tb", action="store_true", help="Show traceback on fatal error"
add_invertible_flag(
"--show-traceback",
default=True,
help="Show traceback on fatal error",
group=internals_group,
)
internals_group.add_argument(
"--raise-exceptions", action="store_true", help="Raise exception on fatal error"
Expand Down
Loading