summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormontezdesousa <79287829+montezdesousa@users.noreply.github.com>2024-05-21 11:46:03 +0100
committerGitHub <noreply@github.com>2024-05-21 10:46:03 +0000
commit1994b34866eb621d92d6a88f75bcf9845d3dbce4 (patch)
tree4298f00356fc46a9fdf07860658ea78b995020f0
parent926524778b50433bd71127fb9540b8da321a2384 (diff)
[BugFix] Bump anyio & sync pre-commit, openbb-devtools and GitHub workflows (#6443)
* fix: update anyio & ruff * fix: ruff updates * remove TODO * lock cli * bump black * fix: lock sec * fix: sec test * fix: replace toml with tomlkit in test
-rw-r--r--.pre-commit-config.yaml10
-rw-r--r--cli/poetry.lock243
-rw-r--r--openbb_platform/core/openbb_core/app/command_runner.py10
-rw-r--r--openbb_platform/core/openbb_core/app/model/api_settings.py2
-rw-r--r--openbb_platform/core/openbb_core/app/model/credentials.py2
-rw-r--r--openbb_platform/core/openbb_core/app/router.py2
-rw-r--r--openbb_platform/core/openbb_core/app/static/package_builder.py12
-rw-r--r--openbb_platform/core/openbb_core/provider/registry.py2
-rw-r--r--openbb_platform/core/openbb_core/provider/utils/helpers.py2
-rw-r--r--openbb_platform/core/poetry.lock379
-rw-r--r--openbb_platform/core/pyproject.toml12
-rw-r--r--openbb_platform/extensions/commodity/poetry.lock10
-rw-r--r--openbb_platform/extensions/crypto/poetry.lock10
-rw-r--r--openbb_platform/extensions/currency/poetry.lock10
-rw-r--r--openbb_platform/extensions/derivatives/poetry.lock10
-rw-r--r--openbb_platform/extensions/devtools/poetry.lock1818
-rw-r--r--openbb_platform/extensions/devtools/pyproject.toml7
-rw-r--r--openbb_platform/extensions/econometrics/poetry.lock10
-rw-r--r--openbb_platform/extensions/economy/poetry.lock10
-rw-r--r--openbb_platform/extensions/equity/poetry.lock10
-rw-r--r--openbb_platform/extensions/etf/poetry.lock10
-rw-r--r--openbb_platform/extensions/fixedincome/poetry.lock10
-rw-r--r--openbb_platform/extensions/index/poetry.lock10
-rw-r--r--openbb_platform/extensions/news/poetry.lock10
-rw-r--r--openbb_platform/extensions/quantitative/poetry.lock10
-rw-r--r--openbb_platform/extensions/regulators/poetry.lock10
-rw-r--r--openbb_platform/extensions/technical/poetry.lock10
-rw-r--r--openbb_platform/extensions/tests/utils/integration_tests_api_generator.py10
-rw-r--r--openbb_platform/obbject_extensions/charting/openbb_charting/charting_router.py26
-rw-r--r--openbb_platform/obbject_extensions/charting/openbb_charting/utils/relative_rotation.py11
-rw-r--r--openbb_platform/obbject_extensions/charting/poetry.lock10
-rw-r--r--openbb_platform/openbb/assets/reference.json2
-rw-r--r--openbb_platform/poetry.lock118
-rw-r--r--openbb_platform/providers/alpha_vantage/poetry.lock10
-rw-r--r--openbb_platform/providers/benzinga/poetry.lock10
-rw-r--r--openbb_platform/providers/biztoc/poetry.lock10
-rw-r--r--openbb_platform/providers/cboe/poetry.lock10
-rw-r--r--openbb_platform/providers/ecb/poetry.lock10
-rw-r--r--openbb_platform/providers/econdb/openbb_econdb/models/economic_indicators.py11
-rw-r--r--openbb_platform/providers/econdb/poetry.lock10
-rw-r--r--openbb_platform/providers/federal_reserve/poetry.lock10
-rw-r--r--openbb_platform/providers/finra/poetry.lock10
-rw-r--r--openbb_platform/providers/finviz/poetry.lock10
-rw-r--r--openbb_platform/providers/fmp/poetry.lock10
-rw-r--r--openbb_platform/providers/fred/poetry.lock10
-rw-r--r--openbb_platform/providers/government_us/poetry.lock10
-rw-r--r--openbb_platform/providers/intrinio/openbb_intrinio/models/equity_quote.py2
-rw-r--r--openbb_platform/providers/intrinio/poetry.lock10
-rw-r--r--openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_ipo.py2
-rw-r--r--openbb_platform/providers/nasdaq/poetry.lock10
-rw-r--r--openbb_platform/providers/oecd/poetry.lock10
-rw-r--r--openbb_platform/providers/polygon/openbb_polygon/utils/helpers.py2
-rw-r--r--openbb_platform/providers/polygon/poetry.lock10
-rw-r--r--openbb_platform/providers/sec/openbb_sec/utils/helpers.py9
-rw-r--r--openbb_platform/providers/sec/poetry.lock14
-rw-r--r--openbb_platform/providers/seeking_alpha/poetry.lock10
-rw-r--r--openbb_platform/providers/stockgrid/poetry.lock10
-rw-r--r--openbb_platform/providers/tiingo/poetry.lock10
-rw-r--r--openbb_platform/providers/tmx/poetry.lock10
-rw-r--r--openbb_platform/providers/tradier/poetry.lock10
-rw-r--r--openbb_platform/providers/tradingeconomics/openbb_tradingeconomics/models/economic_calendar.py2
-rw-r--r--openbb_platform/providers/tradingeconomics/poetry.lock10
-rw-r--r--openbb_platform/providers/wsj/poetry.lock10
-rw-r--r--openbb_platform/providers/yfinance/poetry.lock10
-rw-r--r--openbb_platform/pyproject.toml2
-rw-r--r--openbb_platform/tests/test_pyproject_toml.py8
-rw-r--r--ruff.toml30
67 files changed, 1658 insertions, 1482 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 887df4e3e2c..af8134cbce1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -10,11 +10,11 @@ repos:
- id: check-merge-conflict
- id: detect-private-key
- repo: https://github.com/psf/black
- rev: 24.1.0
+ rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
- rev: "v0.0.285"
+ rev: "v0.4.4"
hooks:
- id: ruff
- repo: https://github.com/pycqa/pydocstyle
@@ -26,7 +26,7 @@ repos:
entry: pydocstyle
language: python
types: [python]
- files: '^openbb_platform/.*\.py$'
+ files: '^(openbb_platform/|cli/).*\.py$'
exclude: 'tests/.*\.py|openbb_platform/test_.*\.py'
args: ["--config=ruff.toml"]
- repo: https://github.com/codespell-project/codespell
@@ -41,7 +41,8 @@ repos:
"--skip=./**/tests/**,./**/test_*.py,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml,build/pyinstaller/*,./website/config.toml",
"-x=.github/workflows/general-linting.yml"
]
- - repo: local
+ - repo: https://github.com/pre-commit/mirrors-mypy
+ rev: "v1.6.1"
hooks:
- id: mypy
name: mypy
@@ -50,6 +51,7 @@ repos:
language: python
"types_or": [python, pyi]
args: ["--ignore-missing-imports", "--scripts-are-modules", "--check-untyped-defs"]
+ additional_dependencies: ["types-requests", "types-setuptools"]
require_serial: true
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
diff --git a/cli/poetry.lock b/cli/poetry.lock
index 3426b56602b..ea3a27dd5b6 100644
--- a/cli/poetry.lock
+++ b/cli/poetry.lock
@@ -190,17 +190,6 @@ test = ["anyio[trio]", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=
trio = ["trio (<0.22)"]
[[package]]
-name = "appdirs"
-version = "1.4.4"
-description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
-optional = false
-python-versions = "*"
-files = [
- {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"},
- {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"},
-]
-
-[[package]]
name = "appnope"
version = "0.1.4"
description = "Disable App Nap on macOS >= 10.9"
@@ -263,13 +252,13 @@ files = [
[[package]]
name = "astroid"
-version = "3.2.1"
+version = "3.2.2"
description = "An abstract syntax tree for Python with inference support."
optional = false
python-versions = ">=3.8.0"
files = [
- {file = "astroid-3.2.1-py3-none-any.whl", hash = "sha256:b452064132234819f023b94f4bd045b250ea0009f372b4377cfcd87f10806ca5"},
- {file = "astroid-3.2.1.tar.gz", hash = "sha256:902564b36796ba1eab3ad2c7a694861fbd926f574d5dbb5fa1d86778a2ba2d91"},
+ {file = "astroid-3.2.2-py3-none-any.whl", hash = "sha256:e8a0083b4bb28fcffb6207a3bfc9e5d0a68be951dd7e336d5dcf639c682388c0"},
+ {file = "astroid-3.2.2.tar.gz", hash = "sha256:8ead48e31b92b2e217b6c9733a21afafe479d52d6e164dd25fb1a770c7c3cf94"},
]
[package.dependencies]
@@ -1327,19 +1316,20 @@ all = ["email_validator (>=2.0.0)", "httpx (>=0.23.0)", "itsdangerous (>=1.1.0)"
[[package]]
name = "fastapi-cli"
-version = "0.0.3"
+version = "0.0.4"
description = "Run and manage FastAPI apps from the command line with FastAPI CLI. 🚀"
optional = false
python-versions = ">=3.8"
files = [
- {file = "fastapi_cli-0.0.3-py3-none-any.whl", hash = "sha256:ae233115f729945479044917d949095e829d2d84f56f55ce1ca17627872825a5"},
- {file = "fastapi_cli-0.0.3.tar.gz", hash = "sha256:3b6e4d2c4daee940fb8db59ebbfd60a72c4b962bcf593e263e4cc69da4ea3d7f"},
+ {file = "fastapi_cli-0.0.4-py3-none-any.whl", hash = "sha256:a2552f3a7ae64058cdbb530be6fa6dbfc975dc165e4fa66d224c3d396e25e809"},
+ {file = "fastapi_cli-0.0.4.tar.gz", hash = "sha256:e2e9ffaffc1f7767f488d6da34b6f5a377751c996f397902eb6abb99a67bde32"},
]
[package.dependencies]
-fastapi = "*"
typer = ">=0.12.3"
-uvicorn = {version = ">=0.15.0", extras = ["standard"]}
+
+[package.extras]
+standard = ["fastapi", "uvicorn[standard] (>=0.15.0)"]
[[package]]
name = "fastjsonschema"
@@ -4290,17 +4280,17 @@ tests = ["coverage[toml] (==5.0.4)", "pytest (>=6.0.0,<7.0.0)"]
[[package]]
name = "pylint"
-version = "3.2.0"
+version = "3.2.2"
description = "python code static checker"
optional = false
python-versions = ">=3.8.0"
files = [
- {file = "pylint-3.2.0-py3-none-any.whl", hash = "sha256:9f20c05398520474dac03d7abb21ab93181f91d4c110e1e0b32bc0d016c34fa4"},
- {file = "pylint-3.2.0.tar.gz", hash = "sha256:ad8baf17c8ea5502f23ae38d7c1b7ec78bd865ce34af9a0b986282e2611a8ff2"},
+ {file = "pylint-3.2.2-py3-none-any.whl", hash = "sha256:3f8788ab20bb8383e06dd2233e50f8e08949cfd9574804564803441a4946eab4"},
+ {file = "pylint-3.2.2.tar.gz", hash = "sha256:d068ca1dfd735fb92a07d33cb8f288adc0f6bc1287a139ca2425366f7cbe38f8"},
]
[package.dependencies]
-astroid = ">=3.2.0,<=3.3.0-dev0"
+astroid = ">=3.2.2,<=3.3.0-dev0"
colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""}
dill = [
{version = ">=0.2", markers = "python_version < \"3.11\""},
@@ -4696,101 +4686,104 @@ files = [
[[package]]
name = "rapidfuzz"
-version = "3.9.0"
+version = "3.9.1"
description = "rapid fuzzy string matching"
optional = false
python-versions = ">=3.8"
files = [
- {file = "rapidfuzz-3.9.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:bd375c4830fee11d502dd93ecadef63c137ae88e1aaa29cc15031fa66d1e0abb"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:55e2c5076f38fc1dbaacb95fa026a3e409eee6ea5ac4016d44fb30e4cad42b20"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:488f74126904db6b1bea545c2f3567ea882099f4c13f46012fe8f4b990c683df"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e3f2d1ea7cd57dfcd34821e38b4924c80a31bcf8067201b1ab07386996a9faee"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b11e602987bcb4ea22b44178851f27406fca59b0836298d0beb009b504dba266"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3083512e9bf6ed2bb3d25883922974f55e21ae7f8e9f4e298634691ae1aee583"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b33c6d4b3a1190bc0b6c158c3981535f9434e8ed9ffa40cf5586d66c1819fb4b"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0dcb95fde22f98e6d0480db8d6038c45fe2d18a338690e6f9bba9b82323f3469"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:08d8b49b3a4fb8572e480e73fcddc750da9cbb8696752ee12cca4bf8c8220d52"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e721842e6b601ebbeb8cc5e12c75bbdd1d9e9561ea932f2f844c418c31256e82"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:7988363b3a415c5194ce1a68d380629247f8713e669ad81db7548eb156c4f365"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:2d267d4c982ab7d177e994ab1f31b98ff3814f6791b90d35dda38307b9e7c989"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:0bb28ab5300cf974c7eb68ea21125c493e74b35b1129e629533468b2064ae0a2"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-win32.whl", hash = "sha256:1b1f74997b6d94d66375479fa55f70b1c18e4d865d7afcd13f0785bfd40a9d3c"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-win_amd64.whl", hash = "sha256:c56d2efdfaa1c642029f3a7a5bb76085c5531f7a530777be98232d2ce142553c"},
- {file = "rapidfuzz-3.9.0-cp310-cp310-win_arm64.whl", hash = "sha256:6a83128d505cac76ea560bb9afcb3f6986e14e50a6f467db9a31faef4bd9b347"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e2218d62ab63f3c5ad48eced898854d0c2c327a48f0fb02e2288d7e5332a22c8"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:36bf35df2d6c7d5820da20a6720aee34f67c15cd2daf8cf92e8141995c640c25"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:905b01a9b633394ff6bb5ebb1c5fd660e0e180c03fcf9d90199cc6ed74b87cf7"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:33cfabcb7fd994938a6a08e641613ce5fe46757832edc789c6a5602e7933d6fa"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1179dcd3d150a67b8a678cd9c84f3baff7413ff13c9e8fe85e52a16c97e24c9b"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:47d97e28c42f1efb7781993b67c749223f198f6653ef177a0c8f2b1c516efcaf"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28da953eb2ef9ad527e536022da7afff6ace7126cdd6f3e21ac20f8762e76d2c"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:182b4e11de928fb4834e8f8b5ecd971b5b10a86fabe8636ab65d3a9b7e0e9ca7"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c74f2da334ce597f31670db574766ddeaee5d9430c2c00e28d0fbb7f76172036"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:014ac55b03f4074f903248ded181f3000f4cdbd134e6155cbf643f0eceb4f70f"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:c4ef34b2ddbf448f1d644b4ec6475df8bbe5b9d0fee173ff2e87322a151663bd"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:fc02157f521af15143fae88f92ef3ddcc4e0cff05c40153a9549dc0fbdb9adb3"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:ff08081c49b18ba253a99e6a47f492e6ee8019e19bbb6ddc3ed360cd3ecb2f62"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-win32.whl", hash = "sha256:b9bf90b3d96925cbf8ef44e5ee3cf39ef0c422f12d40f7a497e91febec546650"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-win_amd64.whl", hash = "sha256:d5d5684f54d82d9b0cf0b2701e55a630527a9c3dd5ddcf7a2e726a475ac238f2"},
- {file = "rapidfuzz-3.9.0-cp311-cp311-win_arm64.whl", hash = "sha256:a2de844e0e971d7bd8aa41284627dbeacc90e750b90acfb016836553c7a63192"},
- {file = "rapidfuz