Clarify BData contracts for static analysis#134
Merged
Annotations
10 errors and 4 warnings
|
Static type check with mypy:
bdpy/util/utils.py#L119
No overload variant of "__getitem__" of "list" matches argument type "Tuple[List[Any], slice[None, None, None]]"
|
|
Static type check with mypy:
bdpy/util/utils.py#L117
No overload variant of "__getitem__" of "list" matches argument type "List[Any]"
|
|
Static type check with mypy:
bdpy/util/utils.py#L116
Item "List[Any]" of "Union[List[Any], ndarray[Any, Any]]" has no attribute "ndim"
|
|
Static type check with mypy:
bdpy/util/utils.py#L62
Incompatible types in assignment (expression has type "ndarray[Any, dtype[Any]]", variable has type "List[Any]")
|
|
Static type check with mypy:
bdpy/dataset/utils.py#L42
"bool" has no attribute "n"
|
|
Static type check with mypy:
bdpy/dataset/utils.py#L42
"bool" has no attribute "update"
|
|
Static type check with mypy:
bdpy/fig/tile_images.py#L6
Skipping analyzing "matplotlib.gridspec": module is installed, but missing library stubs or py.typed marker
|
|
Static type check with mypy:
bdpy/fig/tile_images.py#L4
Skipping analyzing "matplotlib": module is installed, but missing library stubs or py.typed marker
|
|
Static type check with mypy:
bdpy/fig/tile_images.py#L4
Skipping analyzing "matplotlib.pyplot": module is installed, but missing library stubs or py.typed marker
|
|
Static type check with mypy:
bdpy/util/info.py#L24
Argument 1 to "openssl_md5" has incompatible type "str"; expected "Buffer"
|
|
Static type check with mypy:
bdpy/stats/corr.py#L74
Possible overload variants:
|
|
Static type check with mypy:
bdpy/dataform/features.py#L376
By default the bodies of untyped functions are not checked, consider using --check-untyped-defs
|
|
Static type check with mypy:
bdpy/util/utils.py#L119
Possible overload variants:
|
|
Static type check with mypy:
bdpy/util/utils.py#L117
Possible overload variants:
|
background
wait
wait-all
cancel
parallel
Loading