Skip to content

Commit

Permalink
chore: Update black target version (#1323)
Browse files Browse the repository at this point in the history
Python 3.6 was deprecated in #1261
  • Loading branch information
sondrelg authored Jan 14, 2022
1 parent 59eeae6 commit 27f7647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/check
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/lint
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 27f7647

Please sign in to comment.