File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ python setup.py sdist --formats=zip
45
45
pip install dist/* .zip
46
46
47
47
if [ " $CHECK_FORMATTING " = " 1" ]; then
48
- pip install yapf==${YAPF_VERSION} isort
48
+ pip install yapf==${YAPF_VERSION} isort> =5
49
49
if ! yapf -rpd setup.py src tests; then
50
50
cat << EOF
51
51
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
67
67
# required for isort to order test imports correctly
68
68
pip install -Ur test-requirements.txt
69
69
70
- if ! isort --recursive -- check-only --diff . ; then
70
+ if ! isort --check-only --diff . ; then
71
71
cat << EOF
72
72
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
73
73
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
74
74
75
75
Formatting problems were found (listed above). To fix them, run
76
76
77
77
pip install isort
78
- isort --recursive .
78
+ isort .
79
79
80
80
in your local checkout.
81
81
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ universal = 1
4
4
[isort]
5
5
multi_line_output = 4
6
6
skip = ./build, ./docs
7
- not_skip = __init__.py
8
7
# ci/travis.sh installs outcome normally, so isort assumes it's third party
9
8
known_first_party = outcome
10
9
You can’t perform that action at this time.
0 commit comments