Brotli.py check (#1188)

* Added brotli check

* Updated poetry and linting

* Modified to uninstall brotli

* Updated requirements

* Fixed YAML

* Added TOTO

* Added -y to pip uninstall

* Added user flag

* Using python -m

* Switched to conda

* Changed where we remove
This commit is contained in:
Colin Delahunty
2022-01-15 09:07:18 -05:00
committed by GitHub
parent 5d96f2959e
commit 7412d2b61a
7 changed files with 149 additions and 118 deletions

View File

@@ -27,7 +27,7 @@ jobs:
restore-keys: ${{ runner.os }}-linting
- run: pip install bandit black codespell flake8 mypy pyupgrade safety pylint==2.12.2 black[jupyter]
- run: pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil
- run: pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil types-setuptools
- run: bandit -x ./tests -r . || true
- run: black --check .
- run: codespell --ignore-words-list=zlot,ba,buil,coo,ether,hist,hsi,mape,navagation,operatio,pres,ser,yeld,shold --quiet-level=2 --skip=./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml
@@ -235,6 +235,12 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
# TODO: Is there a better way to do this?
- name: Uninstall Brotlipy
shell: bash -l {0}
run: |
conda remove brotlipy -y
- name: Install dependencies (Bash)
shell: bash -l {0}
run: |