🩹 Fix code embedding workflow #16
Annotations
22 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#L39
dev/scripts/format_snippet_prints.py:39: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/loguru.py#L8
Import from `loguru` is implicitly relative and will not work if this file is imported as a module
Use a relative import from `.loguru` instead
or specify the full module path: `kajihs_utils.loguru` (reportImplicitRelativeImport)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L9
Import "rich.prompt" could not be resolved (reportMissingImports)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L15
"debug" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L32
"level" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L43
"opt" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L51
"remove" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L53
"add" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L60
"add" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L68
"add" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
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)
Process completed with exit code 1.
|
build (3.12, ubuntu-latest)
Process completed with exit code 2.
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L8
"logger" is not exported from module "loguru" (reportPrivateLocalImportUsage)
|
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)
|