summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorbarrelful <unvaguely_lay@aleeas.com>2022-12-11 15:37:23 +0100
committerbarrelful <unvaguely_lay@aleeas.com>2022-12-11 15:37:23 +0100
commit864ef260875ddc83fcc7492fec7040704c00645c (patch)
tree2b30f82c2ce0bb2b3dfba64262e5354ad4d34cd1 /scripts
parentb4d285c400bfb15e8861d0134c35ff00f8fe3594 (diff)
downloadisort-864ef260875ddc83fcc7492fec7040704c00645c.tar.gz
Remove Python 3.6
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/docker.sh2
-rwxr-xr-xscripts/lint.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/docker.sh b/scripts/docker.sh
index 364bb570..2ddaa52b 100755
--- a/scripts/docker.sh
+++ b/scripts/docker.sh
@@ -3,7 +3,7 @@ set -ux
result=0
-for ver in {3.6,3.7,3.8}; do
+for ver in {3.7,3.8,3.9}; do
# latest tag will override after each build, leaving only the newest python version tagged
docker build ./ --build-arg VERSION=$ver -t "isort:$ver" -t "isort:latest" && docker run "isort:$ver"
result=$(( $? + $result ))
diff --git a/scripts/lint.sh b/scripts/lint.sh
index 17317182..144cc858 100755
--- a/scripts/lint.sh
+++ b/scripts/lint.sh
@@ -3,7 +3,7 @@ set -euxo pipefail
poetry run cruft check
poetry run mypy -p isort -p tests
-poetry run black --target-version py36 --check .
+poetry run black --target-version py37 --check .
poetry run isort --profile hug --check --diff isort/ tests/
poetry run isort --profile hug --check --diff example_*/
poetry run flake8 isort/ tests/