Refactoring econometrics for SDK usability (#3379)

* Econometrics enhancements

* Docsring

* norm show chart when true

* isort + lint

* Make coint sdk friendly

* mypy?

* Why you miss this locally pylint?

* Clean up granger command

* Tests

* #3323

* Fix up dwat function

* Fix rounding error in test--hopefully

* Update bgod and bpag

* testing mypy

* small commit to help rebase?

* Update Panel OLS stuff. Need some more examples and to fix mypy

* add docstring example

* update controller complete and duplicate printing

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
This commit is contained in:
James Maslek
2022-11-15 09:46:29 -05:00
committed by GitHub
parent 8bf8201690
commit 4495d4d2f5
58 changed files with 1079 additions and 1055 deletions

View File

@@ -42,12 +42,16 @@ repos:
"--quiet-level=2",
"--skip=./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml,build/pyinstaller/*,./website/config.toml",
]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.982"
- repo: local
hooks:
- id: mypy
args: ["--ignore-missing-imports", 'openbb_terminal']
additional_dependencies: [types-all]
- id: mypy
name: mypy
description: ''
entry: mypy
language: python
'types_or': [python, pyi]
args: ["--ignore-missing-imports", "--scripts-are-modules"]
require_serial: true
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks: