summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2020-07-27 01:53:15 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2020-07-27 01:53:15 -0700
commitb40e584d0742a52fc061f4dd55a4e8469d19c34f (patch)
tree31a29a1a5afc1cd44f32c97b8f9e20d397465ac7 /scripts
parentca19112f21a4862d855485f1dfaf12f8ca6a52ea (diff)
downloadisort-b40e584d0742a52fc061f4dd55a4e8469d19c34f.tar.gz
Resolve #1353: Added support for output format plugin
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clean.sh2
-rwxr-xr-xscripts/lint.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/clean.sh b/scripts/clean.sh
index c29f4482..7d446611 100755
--- a/scripts/clean.sh
+++ b/scripts/clean.sh
@@ -2,4 +2,6 @@
set -euxo pipefail
poetry run isort --profile hug isort/ tests/ scripts/
+poetry run isort --profile hug example_isort_formatting_plugin/
poetry run black isort/ tests/ scripts/
+poetry run black example_isort_formatting_plugin/
diff --git a/scripts/lint.sh b/scripts/lint.sh
index 6d754e03..9761425c 100755
--- a/scripts/lint.sh
+++ b/scripts/lint.sh
@@ -4,7 +4,9 @@ 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 isort --profile hug --check --diff isort/ tests/
+poetry run isort --profile hug --check --diff example_isort_formatting_plugin/
poetry run flake8 isort/ tests/
poetry run safety check
poetry run bandit -r isort/ -x isort/_vendored