Skip to content

Commit

Permalink
Release 1.9.0 (#2694)
Browse files Browse the repository at this point in the history
* version change and pylint ignore

* Resolve black and pylint errors

Co-authored-by: Theodore Aptekarev <[email protected]>
  • Loading branch information
simmonsj330 and piiq authored Oct 6, 2022
1 parent 90467fd commit 0dbfd1b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/nsis/setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

;--------------------------------
Expand Down
4 changes: 2 additions & 2 deletions openbb_terminal/dashboards/dashboards_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import argparse
import logging
import os
import subprocess
import subprocess # nosec
from typing import List

from prompt_toolkit.completion import NestedCompleter
Expand Down Expand Up @@ -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.")
Expand Down
2 changes: 1 addition & 1 deletion openbb_terminal/feature_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@
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))
4 changes: 2 additions & 2 deletions openbb_terminal/parent_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

# pylint: disable=C0301,C0302,R0902,global-statement


from abc import ABCMeta, abstractmethod
import argparse
import re
Expand Down Expand Up @@ -538,7 +537,8 @@ def call_record(self, other_args) -> None:
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

Expand Down
3 changes: 1 addition & 2 deletions openbb_terminal/portfolio/brokers/degiro/degiro_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
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__)
Expand Down
2 changes: 1 addition & 1 deletion openbb_terminal/settings_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
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__)

Expand Down
4 changes: 3 additions & 1 deletion openbb_terminal/thought_of_the_day.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "OpenBBTerminal"
version = "1.8.0"
version = "1.9.0"
description = ""
authors = ["Didier Rodrigues Lopes"]
packages = [
Expand Down

0 comments on commit 0dbfd1b

Please sign in to comment.