📝 Update hatchling in pyproject.toml #35
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):
dev/readme_snippets/raw/features_demo.py#L21
Import "numpy" could not be resolved (reportMissingImports)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L9
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#L10
Import "rich.prompt" could not be resolved (reportMissingImports)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L16
"debug" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L33
"level" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L44
"opt" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L62
"remove" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L65
"add" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L72
"add" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/loguru.py#L80
"add" is not a known attribute of module "loguru" (reportAttributeAccessIssue)
|
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#L9
"logger" is not exported from module "loguru" (reportPrivateLocalImportUsage)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/numpy_utils.py#L16
Type of parameter "arr1" is unknown (reportUnknownParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/numpy_utils.py#L16
Type of parameter "arr2" is unknown (reportUnknownParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/numpy_utils.py#L23
Return type is unknown (reportUnknownParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/numpy_utils.py#L24
Type of parameter "x" is partially unknown
Parameter type is "Iterable[T@find_closest] | Unknown" (reportUnknownParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/numpy_utils.py#L25
Type of parameter "targets" is partially unknown
Parameter type is "Iterable[T@find_closest] | T@find_closest | Unknown" (reportUnknownParameterType)
|
build (3.12, ubuntu-latest):
src/kajihs_utils/pyplot.py#L16
Return type, "tuple[Unknown, Unknown]", is partially unknown (reportUnknownParameterType)
|
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)
|