build: add black formatting to CI

This commit is contained in:
Cameron Yick
2021-08-14 21:06:18 -04:00
parent f4a9a04b2e
commit f153a9c89b
2 changed files with 6 additions and 1 deletions

View File

@@ -30,8 +30,11 @@ jobs:
run: |
python -m pip install --upgrade pip
python setup.py develop
python -m pip install flake8 pytest-cov codecov vcrpy
python -m pip install flake8 pytest-cov codecov vcrpy black
tools/install_pandas.sh
- name: black
run: |
black --check tiingo
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names