mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 18:01:10 +00:00
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:
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user