docs(aggregation): Add hosted interactive plotter webapp #945
checks.yml
on: pull_request
Build and test documentation
55s
Code quality (ty and pre-commit hooks)
34s
Matrix: tests
Annotations
5 errors
|
Code quality (ty and pre-commit hooks)
Process completed with exit code 1.
|
|
ty (invalid-argument-type):
tests/plots/app.py#L84
tests/plots/app.py:84:24: invalid-argument-type: Argument to constructor `float.__new__` is incorrect: Expected `str | Buffer | SupportsFloat | SupportsIndex`, found `int | float | list[str]`
info: element `list[str]` of union `int | float | list[str]` is not assignable to `str | Buffer | SupportsFloat | SupportsIndex`
info: └── type `list[str]` is not assignable to any element of the union `str | Buffer | SupportsFloat | SupportsIndex`
info: ├── type `list[str]` is not assignable to protocol `Buffer`
info: │ └── protocol member `__buffer__` is not defined on type `list[str]`
info: ├── type `list[str]` is not assignable to protocol `SupportsFloat`
info: │ └── protocol member `__float__` is not defined on type `list[str]`
info: ├── type `list[str]` is not assignable to protocol `SupportsIndex`
info: │ └── protocol member `__index__` is not defined on type `list[str]`
info: └── ... omitted 1 union element without additional context
stdlib/builtins.pyi:675:9: info: Function defined here
stdlib/builtins.pyi:675:22: Parameter declared here
|
|
ty (invalid-argument-type):
tests/plots/app.py#L83
tests/plots/app.py:83:21: invalid-argument-type: Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `(int & ~AlwaysFalsy) | (float & ~AlwaysFalsy) | (list[str] & ~AlwaysFalsy) | list[Unknown]`
info: element `int & ~AlwaysFalsy` of union `(int & ~AlwaysFalsy) | (float & ~AlwaysFalsy) | (list[str] & ~AlwaysFalsy) | list[Unknown]` is not assignable to `Iterable[Unknown]`
info: └── no element of intersection `int & ~AlwaysFalsy` is assignable to `Iterable[Unknown]`
info: └── type `int` is not assignable to protocol `Iterable[Unknown]`
info: └── protocol member `__iter__` is not defined on type `int`
stdlib/builtins.pyi:2973:9: info: Matching overload defined here
stdlib/builtins.pyi:2973:24: Parameter declared here
info: Non-matching overloads for bound method `__init__`:
info: (self) -> None
|
|
ty (unresolved-import):
tests/plots/app.py#L6
tests/plots/app.py:6:6: unresolved-import: Cannot resolve imported module `_utils`
info: Searched in the following paths during module resolution:
info: 1. /home/runner/work/TorchJD/TorchJD/src (first-party code)
info: 2. /home/runner/work/TorchJD/TorchJD (first-party code)
info: 3. vendored://stdlib (stdlib typeshed stubs vendored by ty)
info: 4. /home/runner/work/TorchJD/TorchJD/.venv/lib/python3.14/site-packages (site-packages)
info: 5. /home/runner/work/TorchJD/TorchJD/.venv/lib64/python3.14/site-packages (site-packages)
info: make sure your Python environment is properly configured: https://docs.astral.sh/ty/modules/#python-environment
|
|
ty (unresolved-import):
tests/plots/app.py#L3
tests/plots/app.py:3:8: unresolved-import: Cannot resolve imported module `gradio`
info: Searched in the following paths during module resolution:
info: 1. /home/runner/work/TorchJD/TorchJD/src (first-party code)
info: 2. /home/runner/work/TorchJD/TorchJD (first-party code)
info: 3. vendored://stdlib (stdlib typeshed stubs vendored by ty)
info: 4. /home/runner/work/TorchJD/TorchJD/.venv/lib/python3.14/site-packages (site-packages)
info: 5. /home/runner/work/TorchJD/TorchJD/.venv/lib64/python3.14/site-packages (site-packages)
info: make sure your Python environment is properly configured: https://docs.astral.sh/ty/modules/#python-environment
|