Skip to content

Commit

Permalink
fix ruff lints
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara committed Sep 4, 2024
1 parent c1b05dd commit 9cfe2bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions starlette/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
ASGIApp,
ExceptionHandler,
ExceptionType,
ExceptionType2,
ExceptionType3,
Lifespan,
Receive,
Scope,
Expand Down
2 changes: 0 additions & 2 deletions starlette/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
Lifespan = typing.Union[StatelessLifespan[AppType], StatefulLifespan[AppType]]

ExceptionType = typing.TypeVar("ExceptionType", bound=Exception)
ExceptionType2 = typing.TypeVar("ExceptionType2", bound=Exception)
ExceptionType3 = typing.TypeVar("ExceptionType3", bound=Exception)

HTTPExceptionHandler = typing.Callable[["Request", ExceptionType], "Response | typing.Awaitable[Response]"]
WebSocketExceptionHandler = typing.Callable[["WebSocket", ExceptionType], typing.Awaitable[None]]
Expand Down

0 comments on commit 9cfe2bd

Please sign in to comment.