diff --git a/scripts/check b/scripts/check index e319add7b..44990981f 100755 --- a/scripts/check +++ b/scripts/check @@ -8,7 +8,7 @@ export SOURCE_FILES="uvicorn tests" set -x -${PREFIX}black --check --diff --target-version=py36 $SOURCE_FILES +${PREFIX}black --check --diff --target-version=py37 $SOURCE_FILES ${PREFIX}flake8 $SOURCE_FILES ${PREFIX}mypy --show-error-codes ${PREFIX}isort --check --diff --project=uvicorn $SOURCE_FILES diff --git a/scripts/lint b/scripts/lint index ef06f6bdd..5325f2691 100755 --- a/scripts/lint +++ b/scripts/lint @@ -10,5 +10,5 @@ set -x ${PREFIX}autoflake --in-place --recursive $SOURCE_FILES ${PREFIX}isort --project=uvicorn $SOURCE_FILES -${PREFIX}black --target-version=py36 $SOURCE_FILES +${PREFIX}black --target-version=py37 $SOURCE_FILES ${PREFIX}python -m tools.cli_usage