From 879fbdb38578d783d0a3696d5693b77470498f85 Mon Sep 17 00:00:00 2001 From: mb Date: Wed, 15 Jul 2020 09:17:25 +0200 Subject: [PATCH] limit isort to lower version --- run-tests.sh | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index f875118..cd0619c 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -8,7 +8,7 @@ # details. pydocstyle invenio_theme_tugraz tests docs && \ -isort . -c --df && \ +isort -rc -c -df && \ check-manifest --ignore ".travis-*" && \ sphinx-build -qnNW docs docs/_build/html && \ python setup.py test diff --git a/setup.py b/setup.py index c5f5812..f0f18fa 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ history = open('CHANGES.rst').read() tests_require = [ 'check-manifest>=0.25', 'coverage>=4.0', - 'isort>=5.0', + 'isort>=4.3.3, <5.0.0', 'pydocstyle>=2.0.0', 'pytest-cov>=2.5.1', 'pytest-pep8>=1.0.6',