Skip to content

Commit 7c9ac25

Browse files
committed
don't need the conditional
1 parent 4e3f0e9 commit 7c9ac25

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mypy/stubtest.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,10 +1938,8 @@ def test_stubs(args: _Arguments, use_builtins_fixtures: bool = False) -> int:
19381938
options.abs_custom_typeshed_dir = os.path.abspath(options.custom_typeshed_dir)
19391939
options.config_file = args.mypy_config_file
19401940
options.use_builtins_fixtures = use_builtins_fixtures
1941-
if args.show_traceback:
1942-
options.show_traceback = True
1943-
if args.pdb:
1944-
options.pdb = True
1941+
options.show_traceback = args.show_traceback
1942+
options.pdb = args.pdb
19451943

19461944
if options.config_file:
19471945

0 commit comments

Comments
 (0)