From 102ca4f841368eb718fe34cababba247ed2e26ee 2020-08-20 21:32:00 From: Matthias Bussonnier Date: 2020-08-20 21:32:00 Subject: [PATCH] darker only on 3.8 --- diff --git a/.travis.yml b/.travis.yml index 3398417..122f280 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,10 @@ script: - pytest IPython - mypy IPython/terminal/ptutils.py - mypy IPython/core/c*.py - - darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff . + - | + if [[ "$TRAVIS_PYTHON_VERSION" == "3.8" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then + darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff . + fi # On the latest Python (on Linux) only, make sure that the docs build. - | if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then