summaryrefslogtreecommitdiff
path: root/scripts/lint.sh
blob: 9761425c33de4c60d7e11088dc036382949b91e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
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