diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2019-10-24 18:58:16 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2019-10-24 18:58:16 -0700 |
commit | cb544adfd4e1364f16a988562ac49131d52243f0 (patch) | |
tree | 81fd3bba10b32ae765d9de677fff3d2a40d06824 /scripts | |
parent | 5d21f87c442dea4148ae687cb415c7b9a229afa7 (diff) | |
download | isort-cb544adfd4e1364f16a988562ac49131d52243f0.tar.gz |
Remove Python3.5 specific checks in pipeline
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/lint.sh | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/scripts/lint.sh b/scripts/lint.sh index 9bc98878..d8a22711 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -1,17 +1,10 @@ #!/bin/bash set -euxo pipefail -pyversion=$(python3 -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]\).*/\1\2/') - -if [[ "$pyversion" -lt "36" ]] -then - echo "WARNING: Some linters have been skipped. Run against 3.6+ for full set of linters to run against the project!" -else - poetry run cruft check - poetry run mypy --ignore-missing-imports isort/ - poetry run black --check -l 100 isort/ tests/ -fi +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 flake8 isort/ tests/ --max-line 100 --ignore F403,F401,W503,E203 poetry run safety check |