diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-08-31 08:55:40 -0700 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2020-08-31 08:55:40 -0700 |
commit | cb9895e98c22a5c5987d6c2d793e9da576557fd9 (patch) | |
tree | 4968bd4082f50a3da77b30c65eeceaa3833efb7a /scripts | |
parent | da0058f8dde043256b7b482a97ddecf453bb7777 (diff) | |
download | isort-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-x | scripts/lint.sh | 3 |
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/ |