File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -236,11 +236,6 @@ exclude = [
236236 " src/svcs/pyramid.py" ,
237237 " tests/typing/mypy.py" ,
238238 " tests/typing/pyramid.py" ,
239- # Starlette started failing since ty 0.0.0a26 and is nontrivial to fix due to
240- # the prevalence of private types:
241- # <https://github.com/Kludex/starlette/blob/49d4de92867cb38a781069701ad57cecab4a1a36/starlette/middleware/__init__.py#L9-L18>.
242- " src/svcs/starlette.py" ,
243- " tests/typing/starlette.py" ,
244239]
245240
246241
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ async def lifespan4(
5555reg = svcs .Registry ()
5656
5757app = Starlette (
58- lifespan = lifespan , middleware = [Middleware (svcs .starlette .SVCSMiddleware )]
58+ lifespan = lifespan ,
59+ middleware = [Middleware (svcs .starlette .SVCSMiddleware )], # ty: ignore[invalid-argument-type] https://github.com/astral-sh/ty/issues/1635
5960)
6061
6162a : int
You can’t perform that action at this time.
0 commit comments