]> git.ipfire.org Git - thirdparty/httpx.git/commit
Typing: enable strict_equality (#2480)
authorMartijn Pieters <mj@zopatista.com>
Fri, 2 Dec 2022 08:45:28 +0000 (08:45 +0000)
committerGitHub <noreply@github.com>
Fri, 2 Dec 2022 08:45:28 +0000 (08:45 +0000)
commit884a69a902cdff9a42e50fa8da5e9373c7aadf5d
treeca520729d93986a4c58754ee06bbf5c69ce4a111
parent5098f47444160991a7152784c73cb984805c7dd9
Typing: enable strict_equality (#2480)

- ignore mypy when it comes to comparing an IntEnum member with an int
- Correct type hint for `test_wsgi_server_port`'s `expected_server_port`
  parameter.

Co-authored-by: Tom Christie <tom@tomchristie.com>
setup.cfg
tests/test_status_codes.py
tests/test_wsgi.py