From 730f78b8f7823ec8b829aeb5a59aecd9aae0ccd8 Mon Sep 17 00:00:00 2001 From: Chavithra PARANA Date: Mon, 17 May 2021 10:49:38 +0200 Subject: [PATCH] degiro integration : apply black --- gamestonk_terminal/portfolio/degiro_api.py | 7 ++----- gamestonk_terminal/portfolio/port_controller.py | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/gamestonk_terminal/portfolio/degiro_api.py b/gamestonk_terminal/portfolio/degiro_api.py index 6a84867b9f8..e1b5fe8d27b 100644 --- a/gamestonk_terminal/portfolio/degiro_api.py +++ b/gamestonk_terminal/portfolio/degiro_api.py @@ -79,7 +79,6 @@ class DegiroController: ) self.__degiro_parser.add_argument("cmd", choices=self.CHOICES) - def q(self, _): """Process Q command - quit the menu""" @@ -260,7 +259,7 @@ class DegiroController: def lookup(self, l_args): """ Search for products by their name.""" - + # PARSING ARGS parser = argparse.ArgumentParser( add_help=False, @@ -429,9 +428,7 @@ class DegiroController: try: degiro_parser = self.__degiro_parser - (known_args, other_args) = degiro_parser.parse_known_args( - an_input.split() - ) + (known_args, other_args) = degiro_parser.parse_known_args(an_input.split()) return getattr( self, diff --git a/gamestonk_terminal/portfolio/port_controller.py b/gamestonk_terminal/portfolio/port_controller.py index ab7a27222c8..c87290294fb 100644 --- a/gamestonk_terminal/portfolio/port_controller.py +++ b/gamestonk_terminal/portfolio/port_controller.py @@ -19,6 +19,7 @@ from gamestonk_terminal.portfolio.portfolio_helpers import ( print_portfolio, ) + class PortfolioController: """Portfolio Controller"""