1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-06 12:30:57 +08:00

fix pylint error

This commit is contained in:
Linlang
2024-07-04 21:03:24 +08:00
parent 3f86171051
commit b4879fc9da
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ class Alpha158(DataHandlerLP):
}, },
"rolling": {}, "rolling": {},
} }
return Alpha158DL.parse_config_to_fields(conf) return Alpha158DL.parse_config_to_fields(conf) # pylint: disable=E1101
def get_label_config(self): def get_label_config(self):
return ["Ref($close, -2)/Ref($close, -1) - 1"], ["LABEL0"] return ["Ref($close, -2)/Ref($close, -1) - 1"], ["LABEL0"]

View File

@@ -1,4 +1,4 @@
from qlib.data.dataset.loader import DataLoader, QlibDataLoader from qlib.data.dataset.loader import QlibDataLoader
class Alpha360DL(QlibDataLoader): class Alpha360DL(QlibDataLoader):