Skip to content

Commit f673339

Browse files
committed
Add a few more lower-cased container aliases
1 parent 6a11ba7 commit f673339

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/docstub/default_config.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ ArrayLike = { from = "numpy.typing" }
2727
# annotations.
2828
# TODO rename to qualname_alias or something
2929
[tool.docstub.replace_doctypes]
30+
iterable = "Iterable"
31+
callable = "Callable"
3032
function = "Callable"
3133
func = "Callable"
32-
callable = "Callable"
34+
sequence = "Sequence"
35+
mapping = "Mapping"
3336

3437
numpy = "np"
3538
scalar = "np.ScalarType"

0 commit comments

Comments
 (0)