degiro integration : apply black

This commit is contained in:
Chavithra PARANA
2021-05-17 10:49:38 +02:00
parent 72117de0c0
commit 730f78b8f7
2 changed files with 3 additions and 5 deletions

View File

@@ -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,

View File

@@ -19,6 +19,7 @@ from gamestonk_terminal.portfolio.portfolio_helpers import (
print_portfolio,
)
class PortfolioController:
"""Portfolio Controller"""