mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-04 16:32:10 +00:00
Better pre-commit (#1185)
* Added jupyter black? * Improved debug_mode * Updated requirements.txt * Added black[jupyter] to linting * Reformatted jupyter notebooks * Fixed black * Updated requirements
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
||||
key: ${{ runner.os }}-linting
|
||||
restore-keys: ${{ runner.os }}-linting
|
||||
|
||||
- run: pip install bandit black codespell flake8 mypy pyupgrade safety pylint==2.12.2
|
||||
- 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: bandit -x ./tests -r . || true
|
||||
- run: black --check .
|
||||
|
||||
Reference in New Issue
Block a user