Skip to content

Commit

Permalink
Mypy now reveals correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Oct 15, 2023
1 parent 0621e1b commit 8ad351b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whole-repo-tests/test_mypy.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def convert_lines():
"one_of(integers(), text(), none(), binary(), builds(list), builds(dict))",
"Any",
),
("tuples()", "tuple[]"), # Should be `tuple[()]`, but this is what mypy prints
("tuples()", "tuple[()]"),
("tuples(integers())", "tuple[int]"),
("tuples(integers(), text())", "tuple[int, str]"),
(
Expand Down

0 comments on commit 8ad351b

Please sign in to comment.