diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2019-10-13 23:37:28 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2019-10-13 23:37:28 -0700 |
commit | fe0fd1c36a1824b6649345c88f808dc739853f9f (patch) | |
tree | 58fbce372555c25f0666c3474b5b868222a9fbc7 /scripts | |
parent | 400d6447e69e59caeba0dedf42ecebb840de8347 (diff) | |
download | isort-fe0fd1c36a1824b6649345c88f808dc739853f9f.tar.gz |
Update to latest cruft template
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clean.sh | 3 | ||||
-rwxr-xr-x | scripts/done.sh | 3 | ||||
-rwxr-xr-x | scripts/lint.sh | 3 | ||||
-rwxr-xr-x | scripts/test.sh | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/scripts/clean.sh b/scripts/clean.sh index d67bbd3e..45e5688c 100755 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -1,4 +1,5 @@ -#!/bin/bash -xe +#!/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 black isort/ tests/ -l 100 diff --git a/scripts/done.sh b/scripts/done.sh index d5dba124..7a1becca 100755 --- a/scripts/done.sh +++ b/scripts/done.sh @@ -1,4 +1,5 @@ -#!/bin/bash -xe +#!/bin/bash +set -euxo pipefail ./scripts/clean.sh ./scripts/test.sh diff --git a/scripts/lint.sh b/scripts/lint.sh index 8c5e7496..3e5bff7f 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -1,4 +1,5 @@ -#!/bin/bash -xe +#!/bin/bash +set -euxo pipefail poetry run cruft check poetry run mypy --ignore-missing-imports isort/ diff --git a/scripts/test.sh b/scripts/test.sh index 5a9e8521..7a458c39 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,4 +1,5 @@ -#!/bin/bash -xe +#!/bin/bash +set -euxo pipefail ./scripts/lint.sh poetry run pytest tests/ -s --cov=isort/ --cov=tests/ --cov-report=term-missing ${@} --cov-report html |