Skip to content

Commit c0d550f

Browse files
authored
Update documentation.py
1 parent 58ec580 commit c0d550f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scikit_build_core/settings/documentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_display_type(field_type: type | str) -> str:
8585
if get_origin(field_type) is Annotated:
8686
# For annotated assume we always want the second item
8787
return get_display_type(get_args(field_type)[1])
88-
if field_type is typing.Any: # type: ignore[comparison-overlap]
88+
if field_type is typing.Any:
8989
# Workaround for python<3.10 where typing.Any.__name__ does not evaluate
9090
return "Any"
9191
# Otherwise just get the formatted form of the `type` object

0 commit comments

Comments
 (0)