summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2020-08-31 17:31:29 -0700
committerGitHub <noreply@github.com>2020-08-31 17:31:29 -0700
commit1440d0c5c9681d43c1ce924efea5b2682b571a86 (patch)
tree2df16952488485389f14d6d2f4b9307cf46e9a49 /scripts
parent7ccb37aae8bf9c41386f0071960644c72206382a (diff)
parentcb9895e98c22a5c5987d6c2d793e9da576557fd9 (diff)
downloadisort-1440d0c5c9681d43c1ce924efea5b2682b571a86.tar.gz
Merge pull request #1437 from jdufresne/black-36
Make black target Python version 3.6
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/lint.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/lint.sh b/scripts/lint.sh
index 9761425c..b8eb14da 100755
--- a/scripts/lint.sh
+++ b/scripts/lint.sh
@@ -3,8 +3,7 @@ set -euxo pipefail
poetry run cruft check
poetry run mypy --ignore-missing-imports isort/
-poetry run black --check isort/ tests/
-poetry run black --check example_isort_formatting_plugin/
+poetry run black --target-version py36 --check .
poetry run isort --profile hug --check --diff isort/ tests/
poetry run isort --profile hug --check --diff example_isort_formatting_plugin/
poetry run flake8 isort/ tests/