]> git.ipfire.org Git - thirdparty/starlette.git/commit
Add type hints to `test_base.py` (#2445)
authorScirlat Danut <danut.scirlat@gmail.com>
Sat, 3 Feb 2024 16:54:21 +0000 (18:54 +0200)
committerGitHub <noreply@github.com>
Sat, 3 Feb 2024 16:54:21 +0000 (09:54 -0700)
commit3434c3d99088b0137231182031aecc536f177a8c
treefb620c5a357e92219626dee332979fc45e8f8eca
parent04a7d9d8d1db3734c028d89a6a3fd636ddcafedf
Add type hints to `test_base.py` (#2445)

* added type annotations to test-base.py

* deleted unused imports

* fixed import order

* conditional import

* conditional import TestClient on types.py

* using string literals when importing in types

* added missing imports

* deleted starlette/types, refactored test_base types

* deleted types

---------

Co-authored-by: Scirlat Danut <scirlatdanut@scirlats-mini.lan>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
tests/middleware/test_base.py