summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-08-31 08:55:40 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2020-08-31 08:55:40 -0700
commitcb9895e98c22a5c5987d6c2d793e9da576557fd9 (patch)
tree4968bd4082f50a3da77b30c65eeceaa3833efb7a /scripts
parentda0058f8dde043256b7b482a97ddecf453bb7777 (diff)
downloadisort-cb9895e98c22a5c5987d6c2d793e9da576557fd9.tar.gz
Make black target Python version 3.6
Now aligns with isort lowest supported version as well as other tools like mypy.
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/