* 👷 Add Python 3.10 beta to the CI
* ⬆️ Upgrade pytest from 5.* to 6.*
strategy:
matrix:
- python-version: ["3.6", "3.7", "3.8", "3.9"]
+ python-version: ["3.6", "3.7", "3.8", "3.9", "3.10.0-beta.2"]
steps:
- uses: "actions/checkout@v2"
isort==5.*
mypy
types-certifi
-pytest==5.*
+pytest==6.*
pytest-asyncio
pytest-trio
trio
PrivateFormat,
load_pem_private_key,
)
+from typing_extensions import Literal
from uvicorn.config import Config
from uvicorn.main import Server
await send({"type": "http.response.body"})
-SERVER_SCOPE = "session"
+SERVER_SCOPE: Literal["session"] = "session"
@pytest.fixture(scope=SERVER_SCOPE)