##// END OF EJS Templates
Enforce black code style on _new_ code
Matthias Bussonnier -
Show More
@@ -43,7 +43,7 b' install:'
43 - pip install trio curio --upgrade --upgrade-strategy eager
43 - pip install trio curio --upgrade --upgrade-strategy eager
44 - pip install 'pytest<6' 'matplotlib !=3.2.0' mypy
44 - pip install 'pytest<6' 'matplotlib !=3.2.0' mypy
45 - pip install codecov check-manifest --upgrade
45 - pip install codecov check-manifest --upgrade
46 - pip install mypy
46 - pip install mypy darker
47 - |
47 - |
48 if [[ "$MASTER_DEPENDENCIES" == "True" ]]; then
48 if [[ "$MASTER_DEPENDENCIES" == "True" ]]; then
49 pip install git+https://github.com/ipython/traitlets#egg=traitlets --force
49 pip install git+https://github.com/ipython/traitlets#egg=traitlets --force
@@ -61,6 +61,7 b' script:'
61 - pytest IPython
61 - pytest IPython
62 - mypy IPython/terminal/ptutils.py
62 - mypy IPython/terminal/ptutils.py
63 - mypy IPython/core/c*.py
63 - mypy IPython/core/c*.py
64 - darker -r 60625f241f298b5039cb2debc365db38aa7bb522 .
64 # On the latest Python (on Linux) only, make sure that the docs build.
65 # On the latest Python (on Linux) only, make sure that the docs build.
65 - |
66 - |
66 if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
67 if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
General Comments 0
You need to be logged in to leave comments. Login now