Repository: tartiflette/tartiflette-asgi (language: python)

Issue:
Add support for latest starlette release
Hello, Starlette is now at [0.16.0](https://github.com/encode/starlette/releases).

Is there a blocker for updating from 0.13.*?
Add type hints to fix static checks
The static checks were broken when `tartiflette 1.3.2` was released, which exposed their type hints to downstream packages.
This PR adds type hints to satisfy the static checks.


Discussion / hints:

Fix patch:
diff --git a/setup.py b/setup.py
index 0087fed..2680fe1 100644
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@ def get_long_description() -> str:
     include_package_data=True,
     zip_safe=False,
     install_requires=[
-        "starlette==0.13.*",
+        "starlette>=0.13,<1.0",
         "tartiflette>=1.0,<1.5",
         "typing-extensions; python_version<'3.8'",
     ],


Test patch:
diff --git a/tests/test_subscription.py b/tests/test_subscription.py
index 4bd956b..369691c 100644
--- a/tests/test_subscription.py
+++ b/tests/test_subscription.py
@@ -25,7 +25,8 @@ def test_if_subscriptions_disabled_then_cannot_connect(
 
     with TestClient(app) as client:  # type: TestClient  # type: ignore
         with pytest.raises(WebSocketDisconnect):
-            client.websocket_connect("/subscriptions")
+            with client.websocket_connect("/subscriptions"):
+                pass
 
 
 @pytest.fixture(name="pubsub", scope="session")