Skip to content
Snippets Groups Projects
Commit 80819954 authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

Update .travis.yml to use black instead of flake8

parent ead4fa28
No related branches found
No related tags found
No related merge requests found
......@@ -18,11 +18,11 @@ before_install:
- conda info -a
install:
- conda config --add channels conda-forge
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION obspy pycurl flake8 pytest pytest-cov webtest
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION obspy pycurl black pytest pytest-cov webtest
- source activate test-environment
- pip install authlib flask flask-login flask-migrate flask-session flask-sqlalchemy psycopg2-binary
script:
- flake8 --config=.flake8 bin/ geomagio/ test/
- black --check .
- pytest
after_success:
- bash <(curl -s https://codecov.io/bash)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment