Skip to content

Commit

Permalink
Fix lint for docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
edtechre committed Dec 14, 2023
1 parent d7c1441 commit 359667a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pybroker/scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ def get_signals(
ind_scope: IndicatorScope,
pred_scope: PredictionScope,
) -> dict[str, pd.DataFrame]:
"""Retrieves dictionary of :class:`pandas.DataFrame`\ s
r"""Retrieves dictionary of :class:`pandas.DataFrame`\ s
containing bar data, indicator data, and model predictions for each symbol.
"""
static_scope = StaticScope.instance()
Expand Down
2 changes: 1 addition & 1 deletion src/pybroker/strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def walkforward_split(

@dataclass(frozen=True)
class TestResult:
"""Contains the results of backtesting a :class:`.Strategy`.
r"""Contains the results of backtesting a :class:`.Strategy`.
Attributes:
start_date: Starting date of backtest.
Expand Down

0 comments on commit 359667a

Please sign in to comment.