summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorstaticdev <staticdev-support@protonmail.com>2022-12-12 12:26:01 +0100
committerstaticdev <staticdev-support@protonmail.com>2022-12-12 12:26:01 +0100
commit3363240d53624c6d0f69f2703bc94fe77bcbd480 (patch)
treee22a294d5d03a9a38dbe86552fd23aaf005c4e45 /scripts
parent839edcdabddbf111a143e75610f34e5a4bb5d93c (diff)
downloadisort-3363240d53624c6d0f69f2703bc94fe77bcbd480.tar.gz
Lint cleanup
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/lint.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lint.sh b/scripts/lint.sh
index 8d308cc0..1935289c 100755
--- a/scripts/lint.sh
+++ b/scripts/lint.sh
@@ -1,11 +1,12 @@
#!/bin/bash
set -euxo pipefail
+# TODO: reneable cruft when it takes Python restriction
#poetry run cruft check
poetry run mypy -p isort -p tests
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/
-poetry run safety check -i 39462 -i 40291 -i 43453 -i 44717 -i 44716 -i 44715 -i 47794 -i 49337 -i 50870 -i 51457 -i 51499
+poetry run safety check -i 47794 -i 51457
poetry run bandit -r isort/ -x isort/_vendored