We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a0207b commit e05d478Copy full SHA for e05d478
1 file changed
mypy/main.py
@@ -1118,8 +1118,11 @@ def add_invertible_flag(
1118
title="Advanced options", description="Debug and customize mypy internals."
1119
)
1120
internals_group.add_argument("--pdb", action="store_true", help="Invoke pdb on fatal error")
1121
- internals_group.add_argument(
1122
- "--show-traceback", "--tb", action="store_true", help="Show traceback on fatal error"
+ add_invertible_flag(
+ "--show-traceback",
1123
+ default=True,
1124
+ help="Show traceback on fatal error",
1125
+ group=internals_group,
1126
1127
internals_group.add_argument(
1128
"--raise-exceptions", action="store_true", help="Raise exception on fatal error"
0 commit comments