mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-07 04:50:56 +08:00
fix_pylint_for_CI (#1119)
* fix_pylint_for_CI * reformat_with_black * fix_pylint_C3001 * fix_flake8_error
This commit is contained in:
@@ -438,7 +438,7 @@ class TSDataSampler:
|
||||
|
||||
@property
|
||||
def empty(self):
|
||||
return self.__len__() == 0
|
||||
return len(self) == 0
|
||||
|
||||
def _get_indices(self, row: int, col: int) -> np.array:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user