Skip to content

Commit 38f02d2

Browse files
authored
disable pylint error (#1960)
* disable pylint error * try fix build docs error * try fix build docs error * optimize code
1 parent de86e46 commit 38f02d2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ lint = [
7070
# snowballstemmer, a dependency of sphinx, was released on 2025-05-08 with version 3.0.0,
7171
# which causes errors in the build process. So we've limited the version for now.
7272
docs = [
73+
# After upgrading scipy to version 1.16.0,
74+
# we encountered ImportError: cannot import name '_lazywhere', in the build documentation,
75+
# so we restricted the version of scipy to: 1.15.3
76+
"scipy<=1.15.3",
7377
"sphinx",
7478
"sphinx_rtd_theme",
7579
"readthedocs_sphinx_ext",

qlib/data/dataset/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class DataHandlerABC(Serializable):
4040
So leaving the flexibility to the user to implement the workflow is a more reasonable choice.
4141
"""
4242

43-
def __init__(self, *args, **kwargs):
43+
def __init__(self, *args, **kwargs): # pylint: disable=W0246
4444
"""
4545
We should define how to get ready for the fetching.
4646
"""

0 commit comments

Comments
 (0)