mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-06 05:51:17 +08:00
disable pylint error (#1960)
* disable pylint error * try fix build docs error * try fix build docs error * optimize code
This commit is contained in:
@@ -70,6 +70,10 @@ lint = [
|
||||
# snowballstemmer, a dependency of sphinx, was released on 2025-05-08 with version 3.0.0,
|
||||
# which causes errors in the build process. So we've limited the version for now.
|
||||
docs = [
|
||||
# After upgrading scipy to version 1.16.0,
|
||||
# we encountered ImportError: cannot import name '_lazywhere', in the build documentation,
|
||||
# so we restricted the version of scipy to: 1.15.3
|
||||
"scipy<=1.15.3",
|
||||
"sphinx",
|
||||
"sphinx_rtd_theme",
|
||||
"readthedocs_sphinx_ext",
|
||||
|
||||
@@ -40,7 +40,7 @@ class DataHandlerABC(Serializable):
|
||||
So leaving the flexibility to the user to implement the workflow is a more reasonable choice.
|
||||
"""
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
def __init__(self, *args, **kwargs): # pylint: disable=W0246
|
||||
"""
|
||||
We should define how to get ready for the fetching.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user