@@ -40,9 +40,9 @@ def _resolve() -> typing.Callable[..., typing.Any]:
4040 def _check_type (
4141 argname : str , value : object , expected_type : typing .Any
4242 ) -> typing .Any :
43- return typeguard .check_type ( # type: ignore[call-overload]
43+ return typeguard .check_type (
4444 argname = argname , value = value , expected_type = expected_type
45- )
45+ ) # type:ignore[call-overload]
4646
4747 elif major_version == 3 :
4848
@@ -52,12 +52,12 @@ def _check_type(
5252 if isinstance (value , InterfaceDynamicProxy ):
5353 pass
5454 else :
55- typeguard .config .collection_check_strategy = ( # type: ignore[attr-defined]
56- typeguard .CollectionCheckStrategy .ALL_ITEMS # type: ignore[attr-defined]
57- )
58- typeguard .check_type ( # type: ignore[call-arg]
55+ typeguard .config .collection_check_strategy = (
56+ typeguard .CollectionCheckStrategy .ALL_ITEMS
57+ ) # type:ignore[attr-defined]
58+ typeguard .check_type (
5959 value = value , expected_type = expected_type
60- )
60+ ) # type:ignore[call-overload]
6161
6262 else :
6363
@@ -67,10 +67,10 @@ def _check_type(
6767 if isinstance (value , InterfaceDynamicProxy ):
6868 pass
6969 else :
70- typeguard .check_type ( # type: ignore[call-arg]
70+ typeguard .check_type (
7171 value = value ,
7272 expected_type = expected_type ,
73- collection_check_strategy = typeguard .CollectionCheckStrategy .ALL_ITEMS , # type: ignore[attr-defined]
73+ collection_check_strategy = typeguard .CollectionCheckStrategy .ALL_ITEMS , # type:ignore[attr-defined]
7474 )
7575
7676 return _check_type
0 commit comments