mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
GitHub Actions: make pyupgrade mandatory and max-line-length=122
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -23,10 +23,10 @@ jobs:
|
||||
- run: pip install bandit black codespell flake8 mypy pyupgrade safety pylint
|
||||
- run: bandit -r . || true
|
||||
- run: black --check .
|
||||
- run: codespell --ignore-words-list="mape" --quiet-level=2 --skip=".git" # --skip=""
|
||||
- run: flake8 . --count --ignore=E203,E302,F401,W503 --max-line-length=140 --show-source --statistics
|
||||
- run: codespell --ignore-words-list="mape" --quiet-level=2 --skip=".git"
|
||||
- run: flake8 . --count --ignore=E203,E302,F401,W503 --max-line-length=122 --show-source --statistics
|
||||
- run: mypy --ignore-missing-imports .
|
||||
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true
|
||||
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py
|
||||
- run: safety check
|
||||
- run: pylint **/*.py
|
||||
test:
|
||||
|
||||
Reference in New Issue
Block a user