Fixed
- #184: Fix issues with mypy. The example in this issue now passes mypy. Also mypy is now being tested as part of tox.
- (typing) Allow dynamic helper access on
CheckContextManagerfor static analysis, so patterns likecheck.equal(...)type-check in fixture-annotated tests.
Changed
- (typing) Update internal
_Comparable*protocol comparison signatures to satisfy strict mypy checks. - (tox) Enable and expand
mypyenv checks to includeexamples/. - (tox) Install
httpxin themypyenv so example type checking works without import ignores. - (examples) Switch decorator usage in
test_example_check_func_decorator.pyto importcheck_funcdirectly for static type checking. - (examples) Add
test_example_context_manager_type.pyto document and validate context-manager fixture typing behavior. - (ci) Add a GitHub Actions quality job to run
tox -e lint,mypy,pytest_earliest,coverage.