-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix all reportAssertTypeFailure+reportGeneralTypeIssues #339
Merged
debonte
merged 1 commit into
microsoft:main
from
Avasam:Fix-all-reportAssertTypeFailure+reportGeneralTypeIssues
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import platform | ||
import sys | ||
|
||
from ..utils.fixes import threadpool_info as threadpool_info | ||
|
||
# License: BSD 3 clause | ||
|
||
def show_versions(): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,23 @@ | ||
import sys | ||
from importlib import resources as resources | ||
from typing import Literal, Mapping | ||
|
||
import numpy as np | ||
import scipy | ||
import scipy.stats | ||
import sklearn | ||
import threadpoolctl | ||
from numpy import percentile as percentile | ||
from scipy.linalg import eigh as _eigh | ||
from scipy.optimize._linesearch import ( # explicitly re-exported | ||
line_search_wolfe1 as line_search_wolfe1, | ||
line_search_wolfe2 as line_search_wolfe2, | ||
) | ||
from threadpoolctl import _ThreadpoolLimiter | ||
|
||
from ..externals._lobpcg import lobpcg as lobpcg | ||
from ..externals._packaging.version import parse as parse_version | ||
from .deprecation import deprecated | ||
from .parallel import delayed | ||
# Version-based re-exports | ||
from numpy.exceptions import ComplexWarning as ComplexWarning, VisibleDeprecationWarning as VisibleDeprecationWarning | ||
from scipy.integrate import trapezoid as trapezoid | ||
from scipy.optimize._linesearch import line_search_wolfe1 as line_search_wolfe1, line_search_wolfe2 as line_search_wolfe2 | ||
from scipy.sparse.csgraph import laplacian as laplacian | ||
|
||
np_version = ... | ||
np_base_version = ... | ||
sp_version = ... | ||
|
||
class loguniform(scipy.stats.reciprocal): ... | ||
|
||
def threadpool_limits( | ||
limits: None | Mapping | str | int = None, | ||
user_api: None | Literal["blas", "openmp"] = None, | ||
) -> _ThreadpoolLimiter: ... | ||
|
||
threadpool_limits.__doc__ = ... | ||
|
||
def threadpool_info() -> list[dict[str, int | str] | dict[str, str | None | int]]: ... | ||
|
||
threadpool_info.__doc__ = ... | ||
|
||
@deprecated( | ||
"The function `delayed` has been moved from `sklearn.utils.fixes` to " | ||
"`sklearn.utils.parallel`. This import path will be removed in 1.5." | ||
) | ||
def delayed(function): ... | ||
sp_base_version = ... | ||
CSR_CONTAINERS = ... | ||
CSC_CONTAINERS = ... | ||
COO_CONTAINERS = ... | ||
LIL_CONTAINERS = ... | ||
DOK_CONTAINERS = ... | ||
BSR_CONTAINERS = ... | ||
DIA_CONTAINERS = ... | ||
SPARRAY_PRESENT: bool | ||
SPARSE_ARRAY_PRESENT: bool | ||
percentile = ... | ||
|
||
def pd_fillna(pd, frame): ... | ||
def tarfile_extractall(tarfile, path) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I simply regenerated this file