mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 04:31:13 +00:00
Updating workflows : codespell + mypy (#991)
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
- run: pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil
|
||||
- run: bandit -x ./tests -r . || true
|
||||
- run: black --check .
|
||||
- run: codespell --ignore-words-list=pres,hsi,hist,mape,ba,ser,coo --quiet-level=2 --skip=".git" --skip="*.yaml" --skip="*.ipynb" --skip="*.json" --skip="*.js" --skip="*.css" --skip="*.scss" --skip="*.html" --skip="*.ini" --skip="*.lock" --skip="*.csv"
|
||||
- run: codespell --ignore-words-list=ba,buil,coo,ether,hist,hsi,mape,navagation,operatio,pres,ser,yeld --quiet-level=2 --skip="./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml"
|
||||
- run: flake8 . --count --ignore=E203,W503 --max-line-length=122 --show-source --statistics
|
||||
- run: mypy --ignore-missing-imports --exclude '/setup\.py$' .
|
||||
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py
|
||||
@@ -250,7 +250,7 @@ jobs:
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
pip install pylint==2.11.1
|
||||
pylint terminal.py gamestonk_terminal discordbot tests
|
||||
pylint discordbot gamestonk_terminal terminal.py tests
|
||||
|
||||
- name: Run MyPy (Bash)
|
||||
if: runner.os != 'Windows'
|
||||
|
||||
Reference in New Issue
Block a user