]> git.ipfire.org Git - thirdparty/httpx.git/commit
Switch to explicit `typing.Optional` throughout (#2096)
authorMichael Oliver <michaeloliver__@outlook.com>
Fri, 20 May 2022 10:12:25 +0000 (11:12 +0100)
committerGitHub <noreply@github.com>
Fri, 20 May 2022 10:12:25 +0000 (11:12 +0100)
commit14a1704be507cf435fa84da75c249c2ecd1c3981
treed170991af1f722d27fc28447893d23c0c75ab577
parent9673a3555c39dfc7b91b0da19cf0a28e357692bc
Switch to explicit `typing.Optional` throughout (#2096)

* Fix issue with Mypy `--strict` and `AsyncExitStack`

* Enable `no_implicit_optional` in Mypy

* Ignore internal type errors

* Bump `httpcore`

* Remove unneeded type: ignore comments

Co-authored-by: Florimond Manca <florimond.manca@protonmail.com>
Co-authored-by: Michael Oliver <michael@michaeloliver.dev>
15 files changed:
httpx/_api.py
httpx/_client.py
httpx/_config.py
httpx/_content.py
httpx/_decoders.py
httpx/_exceptions.py
httpx/_models.py
httpx/_multipart.py
httpx/_transports/base.py
httpx/_transports/default.py
httpx/_types.py
httpx/_urls.py
httpx/_utils.py
setup.cfg
setup.py