diff --git a/.travis.yml b/.travis.yml index 3564178..632725a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ install: - pip install trio curio --upgrade --upgrade-strategy eager - pip install 'pytest<6' 'matplotlib !=3.2.0' mypy - pip install codecov check-manifest --upgrade - - pip install mypy darker + - pip install mypy - | if [[ "$MASTER_DEPENDENCIES" == "True" ]]; then pip install git+https://github.com/ipython/traitlets#egg=traitlets --force @@ -57,20 +57,6 @@ script: # on nightly fake parso known the grammar cp /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages/parso/python/grammar38.txt /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages/parso/python/grammar39.txt fi - - | - # check style on changes - # run `darker -r master` and commit changes to fix - if [[ "${TRAVIS_PULL_REQUEST:-false}" != "false" ]] \ - && [[ "$TRAVIS_PYTHON_VERSION" == "3.8" ]] \ - && [[ "$TRAVIS_OS_NAME" == "linux" ]]; - then - darker -r ${TRAVIS_COMMIT_RANGE%%.*} --check --diff . || ( - echo "Changes need auto-formatting. Run:" - echo " darker -r ${TRAVIS_COMMIT_RANGE%%.*}" - echo "then commit and push changes to fix." - exit 1 - ) - fi - cd /tmp && iptest --coverage xml && cd - - pytest IPython - mypy IPython/terminal/ptutils.py