diff --git a/scripts/test b/scripts/test index 7a394e0b0..8c4ada036 100755 --- a/scripts/test +++ b/scripts/test @@ -13,4 +13,5 @@ set -x PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov-config tests/.ignore_lifespan -W ignore::DeprecationWarning --cov=starlette --cov=tests --cov-fail-under=100 --cov-report=term-missing ${@} ${PREFIX}mypy starlette --ignore-missing-imports --disallow-untyped-defs ${PREFIX}autoflake --recursive starlette tests setup.py +${PREFIX}isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --check starlette tests setup.py ${PREFIX}black starlette tests setup.py --check diff --git a/starlette/requests.py b/starlette/requests.py index b6e62ff18..56a0c5a9a 100644 --- a/starlette/requests.py +++ b/starlette/requests.py @@ -1,8 +1,8 @@ import asyncio -from http import cookies as http_cookies import json import typing from collections.abc import Mapping +from http import cookies as http_cookies from starlette.datastructures import URL, Address, FormData, Headers, QueryParams, State from starlette.formparsers import FormParser, MultiPartParser