Skip to content

Commit

Permalink
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/me…
Browse files Browse the repository at this point in the history
…rge-main-w-dev
  • Loading branch information
hjoaquim committed May 14, 2024
2 parents 3970eb0 + 8d060dc commit a7b5c46
Show file tree
Hide file tree
Showing 1,438 changed files with 287,413 additions and 772,439 deletions.
1 change: 1 addition & 0 deletions .codespell.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ shold
shs
statics
te
tha
toke
vai
varian
Expand Down
79 changes: 0 additions & 79 deletions .devcontainer/Dockerfile

This file was deleted.

33 changes: 0 additions & 33 deletions .devcontainer/devcontainer.json

This file was deleted.

11 changes: 0 additions & 11 deletions .devcontainer/docker-compose.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions .dockerignore

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pull Request the OpenBBTerminal
# Pull Request the OpenBB Platform CLI

## Description

Expand All @@ -14,8 +14,8 @@
- Please provide instructions so we can reproduce.
- Please also list any relevant details for your test configuration.

- [ ] Ensure the affected commands still execute in the OpenBB Terminal.
- [ ] Ensure the Platform (previously named SDK) is working as intended.
- [ ] Ensure the affected commands still execute in the OpenBB Platform CLI.
- [ ] Ensure the Platform is working as intended.
- [ ] Check any related reports.

## Checklist
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
Please go the the `Preview` tab and select the appropriate PR sub-template:

* [OpenBB Platform](?expand=1&template=platform_pull_request_template.md)
* [OpenBB Terminal](?expand=1&template=terminal_pull_request_template.md)
* [OpenBB Platform CLI](?expand=1&template=terminal_pull_request_template.md)
* [OpenBB Developers](?expand=1&template=obb_developer_pull_request_template.md)
8 changes: 4 additions & 4 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name-template: 'OpenBB Platform v$NEXT_MINOR_VERSION'
tag-template: 'v$NEXT_MINOR_VERSION'
categories:
- title: 🚨 OpenBB Platform Breaking Changes
labels:
- 'breaking_change'
- title: 🦋 OpenBB Platform Enhancements
labels:
- 'platform'
- 'v4'
- title: 🐛 OpenBB Platform Bug Fixes
labels:
- 'bug'
- title: 🚨 OpenBB Platform Breaking Changes
labels:
- 'breaking_change'
- title: 📚 OpenBB Documentation Changes
labels:
- 'docs'
Expand All @@ -35,7 +35,7 @@ template: |
## Thank you and welcome to our new contributors 🔥
$CONTRIBUTORS
## What's new 🎉
## Summary 🎉
## What's changed 🚀
$CHANGES
Expand Down
47 changes: 47 additions & 0 deletions .github/scripts/noxfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
"""Nox sessions."""

from pathlib import Path

import nox

ROOT_DIR = Path(__file__).parent.parent.parent
PLATFORM_DIR = ROOT_DIR / "openbb_platform"
PLATFORM_TESTS = [
str(PLATFORM_DIR / p) for p in ["tests", "core", "providers", "extensions"]
]
CLI_DIR = ROOT_DIR / "cli"
CLI_TESTS = CLI_DIR / "tests"


@nox.session(python=["3.9", "3.10", "3.11"])
def unit_test_platform(session):
"""Run the test suite."""
session.install("poetry", "toml")
session.run(
"python",
str(PLATFORM_DIR / "dev_install.py"),
"-e",
"all",
external=True,
)
session.install("pytest")
session.install("pytest-cov")
session.run(
"pytest", *PLATFORM_TESTS, f"--cov={PLATFORM_DIR}", "-m", "not integration"
)


@nox.session(python=["3.9", "3.10", "3.11"])
def unit_test_cli(session):
"""Run the test suite."""
session.install("poetry", "toml")
session.run(
"python",
str(PLATFORM_DIR / "dev_install.py"),
"-e",
"all",
external=True,
)
session.install("pytest")
session.install("pytest-cov")
session.run("pytest", CLI_TESTS, f"--cov={CLI_DIR}")
File renamed without changes.
Loading

0 comments on commit a7b5c46

Please sign in to comment.