mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-06 01:12:27 +00:00
Code Without Documentation BANNED (Contributors Outraged) (#1487)
* Adds working checker * Removed unused import * Added dupont docs * Added arg parser * Removed Directory * Updated commands * Added hook to actions * Added handling for no args * Added proper ignores to actions * Fixed tests * Added Oanda documentation Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
This commit is contained in:
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -26,6 +26,7 @@ jobs:
|
||||
key: ${{ runner.os }}-linting
|
||||
restore-keys: ${{ runner.os }}-linting
|
||||
|
||||
- run: python custom_pre_commit/check_doc.py --ignore-files=settings_controller.py,keys_controller.py,degiro_controller.py,oanda_controller.py --ignore-commands=login,al_swe,info_swe,goodness,resources,yf,yolo
|
||||
- run: pip install bandit black codespell flake8 mypy pyupgrade safety pylint==2.12.2
|
||||
- run: pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil types-setuptools
|
||||
- run: bandit -x ./tests -r . || true
|
||||
|
||||
Reference in New Issue
Block a user