diff options
author | James Simmons <53658028+simmonsj330@users.noreply.github.com> | 2022-10-06 17:56:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 17:56:29 -0400 |
commit | 0dbfd1b7dd400d4bddbde93e3863d8d9813b514a (patch) | |
tree | 610b96771aa3249d2d055483c72a6409f67cb9ff | |
parent | 90467fd322e49c675ae7e4cced09b2cb2ebb3427 (diff) |
Release 1.9.0 (#2694)v1.9.0
* version change and pylint ignore
* Resolve black and pylint errors
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
-rw-r--r-- | build/nsis/setup.nsi | 2 | ||||
-rw-r--r-- | openbb_terminal/dashboards/dashboards_controller.py | 4 | ||||
-rw-r--r-- | openbb_terminal/feature_flags.py | 2 | ||||
-rw-r--r-- | openbb_terminal/parent_classes.py | 4 | ||||
-rw-r--r-- | openbb_terminal/portfolio/brokers/degiro/degiro_model.py | 3 | ||||
-rw-r--r-- | openbb_terminal/settings_controller.py | 2 | ||||
-rw-r--r-- | openbb_terminal/thought_of_the_day.py | 4 | ||||
-rw-r--r-- | pyproject.toml | 2 |
8 files changed, 12 insertions, 11 deletions
diff --git a/build/nsis/setup.nsi b/build/nsis/setup.nsi index 69395b8299f..874d1eb8a4e 100644 --- a/build/nsis/setup.nsi +++ b/build/nsis/setup.nsi @@ -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}" ;-------------------------------- diff --git a/openbb_terminal/dashboards/dashboards_controller.py b/openbb_terminal/dashboards/dashboards_controller.py index 4c350ac65d7..7a2e5748cc7 100644 --- a/openbb_terminal/dashboards/dashboards_controller.py +++ b/openbb_terminal/dashboards/dashboards_controller.py @@ -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.") diff --git a/openbb_terminal/feature_flags.py b/openbb_terminal/feature_flags.py index 1c90203426f..f3e4492e8d0 100644 --- a/openbb_terminal/feature_flags.py +++ b/openbb_terminal/feature_flags.py @@ -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)) diff --git a/openbb_terminal/parent_classes.py b/openbb_terminal/parent_classes.py index a3ce78c7049..93e550e837d 100644 --- a/openbb_terminal/parent_classes.py +++ b/openbb_terminal/parent_classes.py @@ -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 diff --git a/openbb_terminal/portfolio/brokers/degiro/degiro_model.py b/openbb_terminal/portfolio/brokers/degiro/degiro_model.py index ef42d943514..eb8061ab4a3 100644 --- a/openbb_terminal/portfolio/brokers/degiro/degiro_model.py +++ b/openbb_terminal/portfolio/brokers/degiro/degiro_model.py @@ -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__) diff --git a/openbb_terminal/settings_controller.py b/openbb_terminal/settings_controller.py index f91ed185ddb..82c51c11c6e 100644 --- a/openbb_terminal/settings_controller.py +++ b/openbb_terminal/settings_controller.py @@ -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__) diff --git a/openbb_terminal/thought_of_the_day.py b/openbb_terminal/thought_of_the_day.py index cf152438515..662682bb680 100644 --- a/openbb_terminal/thought_of_the_day.py +++ b/openbb_terminal/thought_of_the_day.py @@ -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("") diff --git a/pyproject.toml b/pyproject.toml index efda9a40bff..169b56b8ed6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "OpenBBTerminal" -version = "1.8.0" +version = "1.9.0" description = "" authors = ["Didier Rodrigues Lopes"] packages = [ |