summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-11-09 23:36:53 -0800
committerTimothy Crosley <timothy.crosley@gmail.com>2019-11-09 23:36:53 -0800
commit4de01f5b1b98dca14fc4192fba7196cd4702d458 (patch)
treea3a1d53b8912884a3527e9b88006f6db1ff0baef /scripts
parent6209700b5dbc41735ce433047e1ecadd0ce46961 (diff)
downloadisort-4de01f5b1b98dca14fc4192fba7196cd4702d458.tar.gz
Fix --diff command-line option
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clean.sh2
-rwxr-xr-xscripts/lint.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/clean.sh b/scripts/clean.sh
index 45e5688c..1a5b493e 100755
--- a/scripts/clean.sh
+++ b/scripts/clean.sh
@@ -1,5 +1,5 @@
#!/bin/bash
set -euxo pipefail
-poetry run isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --use-parentheses --line-width=100 --recursive isort/ tests/
+poetry run isort --profile hug isort/ tests/
poetry run black isort/ tests/ -l 100
diff --git a/scripts/lint.sh b/scripts/lint.sh
index 2198495d..d31f426c 100755
--- a/scripts/lint.sh
+++ b/scripts/lint.sh
@@ -5,7 +5,7 @@ set -euxo pipefail
poetry run cruft check
poetry run mypy --ignore-missing-imports isort/
poetry run black --check -l 100 isort/ tests/
-# poetry run isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --use-parentheses --line-width=100 --recursive --check --diff --recursive isort/ tests/
+poetry run isort --profile hug --check --diff isort/ tests/
poetry run flake8 isort/ tests/ --max-line 100 --ignore F403,F401,W503,E203
poetry run safety check
poetry run bandit -r isort/