summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2021-06-20 19:17:16 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2021-06-20 19:17:16 -0700
commita1a3aff44a16dca71b288f1a7cd19a039931ee2a (patch)
tree340a664985309946bcb983b52cd68bfcce57a2d1 /scripts
parent37dcd467f3b521128ca1dcc87cd1608597b20ade (diff)
downloadisort-a1a3aff44a16dca71b288f1a7cd19a039931ee2a.tar.gz
Implemented #1732: Support for custom sort functions.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clean.sh4
-rwxr-xr-xscripts/lint.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/clean.sh b/scripts/clean.sh
index 7d446611..632a023c 100755
--- a/scripts/clean.sh
+++ b/scripts/clean.sh
@@ -2,6 +2,6 @@
set -euxo pipefail
poetry run isort --profile hug isort/ tests/ scripts/
-poetry run isort --profile hug example_isort_formatting_plugin/
+poetry run isort --profile hug example_*/
poetry run black isort/ tests/ scripts/
-poetry run black example_isort_formatting_plugin/
+poetry run black example_*/
diff --git a/scripts/lint.sh b/scripts/lint.sh
index 6783976f..9af835d0 100755
--- a/scripts/lint.sh
+++ b/scripts/lint.sh
@@ -5,7 +5,7 @@ poetry run cruft check
poetry run mypy -p isort
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 isort --profile hug --check --diff example_*/
poetry run flake8 isort/ tests/
poetry run safety check -i 39462 -i 40291
poetry run bandit -r isort/ -x isort/_vendored