mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-30 22:11:55 +00:00
Fix linting
This commit is contained in:
@@ -264,7 +264,8 @@ class StocksController(StockBaseController):
|
||||
"--ticker",
|
||||
action="store",
|
||||
dest="s_ticker",
|
||||
required=not any(x in other_args for x in ["-h", "--help"]) and not self.ticker,
|
||||
required=not any(x in other_args for x in ["-h", "--help"])
|
||||
and not self.ticker,
|
||||
help="Ticker to get data for",
|
||||
)
|
||||
parser.add_argument(
|
||||
@@ -363,7 +364,8 @@ class StocksController(StockBaseController):
|
||||
help="Ticker to analyze",
|
||||
type=str,
|
||||
default=None,
|
||||
required=not any(x in other_args for x in ["-h", "--help"]) and not self.ticker,
|
||||
required=not any(x in other_args for x in ["-h", "--help"])
|
||||
and not self.ticker,
|
||||
)
|
||||
parser.add_argument(
|
||||
"-p",
|
||||
@@ -495,7 +497,8 @@ class StocksController(StockBaseController):
|
||||
"--ticker",
|
||||
action="store",
|
||||
dest="ticker",
|
||||
required=not any(x in other_args for x in ["-h", "--help"]) and not self.ticker,
|
||||
required=not any(x in other_args for x in ["-h", "--help"])
|
||||
and not self.ticker,
|
||||
help="Ticker to get data for",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
||||
Reference in New Issue
Block a user