Skip to content

🚸 Remove positional-only parameter in setup_logging #28

🚸 Remove positional-only parameter in setup_logging

🚸 Remove positional-only parameter in setup_logging #28

Triggered via push December 18, 2024 13:42
Status Success
Total duration 1m 8s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

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#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): src/kajihs_utils/pyplot.py#L5
Import "matplotlib.pyplot" could not be resolved (reportMissingImports)
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/pyplot.py#L14
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)
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)