🚧 Fix code embedder workflow #4
Annotations
21 errors and 10 warnings
Ruff (INP001):
dev/readme_snippets/raw/features_demo.py#L1
dev/readme_snippets/raw/features_demo.py:1:1: INP001 File `dev/readme_snippets/raw/features_demo.py` is part of an implicit namespace package. Add an `__init__.py`.
|
Ruff (D100):
dev/readme_snippets/raw/features_demo.py#L1
dev/readme_snippets/raw/features_demo.py:1:1: D100 Missing docstring in public module
|
Ruff (INP001):
dev/scripts/format_snippet_prints.py#L1
dev/scripts/format_snippet_prints.py:1:1: INP001 File `dev/scripts/format_snippet_prints.py` is part of an implicit namespace package. Add an `__init__.py`.
|
Ruff (S102):
dev/scripts/format_snippet_prints.py#L37
dev/scripts/format_snippet_prints.py:37:9: S102 Use of `exec` detected
|
Ruff (ANN201):
src/kajihs_utils/experimental/jax.py#L10
src/kajihs_utils/experimental/jax.py:10:5: ANN201 Missing return type annotation for public function `tree_stack`
|
Ruff (ANN001):
src/kajihs_utils/experimental/jax.py#L10
src/kajihs_utils/experimental/jax.py:10:16: ANN001 Missing type annotation for function argument `trees`
|
Ruff (ANN001):
src/kajihs_utils/experimental/jax.py#L10
src/kajihs_utils/experimental/jax.py:10:23: ANN001 Missing type annotation for function argument `axis`
|
Ruff (ANN201):
src/kajihs_utils/experimental/jax.py#L15
src/kajihs_utils/experimental/jax.py:15:5: ANN201 Missing return type annotation for public function `tree_unstack`
|
Ruff (D103):
src/kajihs_utils/experimental/jax.py#L15
src/kajihs_utils/experimental/jax.py:15:5: D103 Missing docstring in public function
|
Ruff (ANN001):
src/kajihs_utils/experimental/jax.py#L15
src/kajihs_utils/experimental/jax.py:15:18: ANN001 Missing type annotation for function argument `tree`
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/core.py#L24
Type "dict[Unknown, Unknown]" is not assignable to return type "T@make_yamlizable" (reportReturnType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/core.py#L26
Type "list[Unknown]" is not assignable to return type "T@make_yamlizable"
Type "list[Unknown]" is not assignable to type "T@make_yamlizable" (reportReturnType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/core.py#L28
Type "tuple[Unknown, ...]" is not assignable to return type "T@make_yamlizable"
Type "tuple[Unknown, ...]" is not assignable to type "T@make_yamlizable" (reportReturnType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/core.py#L31
Type "Any | str" is not assignable to return type "T@make_yamlizable"
Type "Any | str" is not assignable to type "T@make_yamlizable" (reportReturnType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L3
Import from `jax` is implicitly relative and will not work if this file is imported as a module
Use a relative import from `.jax` instead
or specify the full module path: `kajihs_utils.experimental.jax` (reportImplicitRelativeImport)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L4
Import "jax.numpy" could not be resolved (reportMissingImports)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L5
Import "jax._src.typing" could not be resolved (reportMissingImports)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L6
Import "jax.typing" could not be resolved (reportMissingImports)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L12
"tree_map" is not a known attribute of module "jax" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L16
"tree_flatten" is not a known attribute of module "jax" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest)
Process completed with exit code 1.
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L10
Return type is unknown (reportUnknownParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L10
Type of parameter "trees" is unknown (reportUnknownParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L10
Type annotation is missing for parameter "trees" (reportMissingParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L10
Type annotation is missing for parameter "axis" (reportMissingParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L12
Type of parameter "v" is partially unknown (reportUnknownLambdaType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L12
Return type of lambda is unknown (reportUnknownLambdaType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L15
Return type, "list[Unknown]", is partially unknown (reportUnknownParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L15
Type of parameter "tree" is unknown (reportUnknownParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L15
Type annotation is missing for parameter "tree" (reportMissingParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/experimental/jax.py#L20
Return type is unknown (reportUnknownParameterType)
|