diff --git a/pyrightconfig.stricter.json b/pyrightconfig.stricter.json index d1d0f5d26..8080d32ae 100644 --- a/pyrightconfig.stricter.json +++ b/pyrightconfig.stricter.json @@ -28,7 +28,6 @@ "stdlib/xml/dom/minidom.pyi", "stdlib/xml/dom/pulldom.pyi", "stdlib/xml/sax", - "stubs/aiofiles/aiofiles/tempfile/__init__.pyi", "stubs/aiofiles/aiofiles/tempfile/temptypes.pyi", "stubs/antlr4-python3-runtime", "stubs/aws-xray-sdk", diff --git a/stubs/aiofiles/aiofiles/tempfile/__init__.pyi b/stubs/aiofiles/aiofiles/tempfile/__init__.pyi index c68ca505e..bfee5b17a 100644 --- a/stubs/aiofiles/aiofiles/tempfile/__init__.pyi +++ b/stubs/aiofiles/aiofiles/tempfile/__init__.pyi @@ -256,4 +256,4 @@ def TemporaryDirectory( ) -> AiofilesContextManagerTempDir[None, None, AsyncTemporaryDirectory]: ... class AiofilesContextManagerTempDir(AiofilesContextManager[_T_co, _T_contra, _V_co]): - async def __aenter__(self): ... + async def __aenter__(self) -> str: ... # type: ignore[override]