mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Release 1.9.0 (#2694)
* version change and pylint ignore * Resolve black and pylint errors Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
This commit is contained in:
2
build/nsis/setup.nsi
vendored
2
build/nsis/setup.nsi
vendored
@@ -10,7 +10,7 @@
|
||||
!define NAME "OpenBB Terminal"
|
||||
!define COMPANY "OpenBB"
|
||||
!define APPFILE "OpenBBTerminal.exe"
|
||||
!define VERSION "1.8.0"
|
||||
!define VERSION "1.9.0"
|
||||
!define SLUG "${NAME} v${VERSION}"
|
||||
|
||||
;--------------------------------
|
||||
|
||||
@@ -4,7 +4,7 @@ __docformat__ = "numpy"
|
||||
import argparse
|
||||
import logging
|
||||
import os
|
||||
import subprocess
|
||||
import subprocess # nosec
|
||||
from typing import List
|
||||
|
||||
from prompt_toolkit.completion import NestedCompleter
|
||||
@@ -150,7 +150,7 @@ def create_call(other_args: List[str], name: str, filename: str = None) -> None:
|
||||
f"{cmd} {file} {args}",
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
shell=True,
|
||||
shell=True, # nosec
|
||||
)
|
||||
else:
|
||||
console.print(f"Type: {cmd} {file}\ninto a terminal to run.")
|
||||
|
||||
@@ -125,5 +125,5 @@ GUESS_EASTER_EGG_FILE = str(
|
||||
try:
|
||||
version = pkg_resources.get_distribution("OpenBBTerminal").version
|
||||
except Exception:
|
||||
version = "1.8.0m"
|
||||
version = "1.9.0m"
|
||||
VERSION = str(os.getenv("OPENBB_VERSION", version))
|
||||
|
||||
@@ -3,7 +3,6 @@ __docformat__ = "numpy"
|
||||
|
||||
# pylint: disable=C0301,C0302,R0902,global-statement
|
||||
|
||||
|
||||
from abc import ABCMeta, abstractmethod
|
||||
import argparse
|
||||
import re
|
||||
@@ -538,7 +537,8 @@ class BaseController(metaclass=ABCMeta):
|
||||
SESSION_RECORDED_NAME = ns_parser.routine_name + ".openbb"
|
||||
|
||||
console.print(
|
||||
"[green]The session is successfully being recorded. Remember to 'stop' before exiting terminal!\n[/green]"
|
||||
"[green]The session is successfully being recorded."
|
||||
+ " Remember to 'stop' before exiting terminal!\n[/green]"
|
||||
)
|
||||
RECORD_SESSION = True
|
||||
|
||||
|
||||
@@ -27,8 +27,7 @@ from openbb_terminal.rich_config import console
|
||||
from openbb_terminal.decorators import log_start_end
|
||||
from openbb_terminal.portfolio import portfolio_helper
|
||||
|
||||
# pylint: disable=no-member
|
||||
# pylint: disable=no-else-return
|
||||
# pylint: disable=no-member,no-else-return
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -31,7 +31,7 @@ from openbb_terminal.parent_classes import BaseController
|
||||
from openbb_terminal.rich_config import console, MenuText
|
||||
|
||||
# pylint: disable=too-many-lines,no-member,too-many-public-methods,C0302
|
||||
# pylint:disable=import-outside-toplevel
|
||||
# pylint: disable=import-outside-toplevel
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -137,6 +137,8 @@ def get_thought_of_the_day():
|
||||
quotes = quotes + metadata["quotes"]
|
||||
|
||||
console.print("Thought of the day:")
|
||||
console.print(totd.quote_to_str(quotes[random.randint(0, len(quotes) - 1)]))
|
||||
console.print(
|
||||
totd.quote_to_str(quotes[random.randint(0, len(quotes) - 1)]) # nosec
|
||||
)
|
||||
|
||||
console.print("")
|
||||
|
||||
2
pyproject.toml
vendored
2
pyproject.toml
vendored
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "OpenBBTerminal"
|
||||
version = "1.8.0"
|
||||
version = "1.9.0"
|
||||
description = ""
|
||||
authors = ["Didier Rodrigues Lopes"]
|
||||
packages = [
|
||||
|
||||
Reference in New Issue
Block a user