diff --git a/qlib/backtest/high_performance_ds.py b/qlib/backtest/high_performance_ds.py index 8a908fbf0..104be5b9c 100644 --- a/qlib/backtest/high_performance_ds.py +++ b/qlib/backtest/high_performance_ds.py @@ -159,8 +159,7 @@ class BaseSingleMetric: raise NotImplementedError(f"Please implement the `mean` method") def count(self) -> int: - """Return the count of the single metric, NaN is not included. - """ + """Return the count of the single metric, NaN is not included.""" raise NotImplementedError(f"Please implement the `count` method")