Skip to content

style: fix formatting and linting issues #27

style: fix formatting and linting issues

style: fix formatting and linting issues #27

Triggered via push August 26, 2024 10:19
Status Failure
Total duration 8m 51s
Artifacts

ci.yml

on: push
Check for Python file changes
6s
check_pre_commit
28s

Annotations

10 errors and 1 warning
based_pyright: src/cogelot/app/overfit_model_explore.py#L53
"actions" is not accessed (reportUnusedParameter)
based_pyright: src/cogelot/app/overfit_model_explore.py#L58
"actions" is not accessed (reportUnusedParameter)
based_pyright: src/cogelot/data/transforms/reword.py#L105
Unnecessary "# pyright: ignore" rule: "reportAssignmentType" (reportUnnecessaryTypeIgnoreComment)
based_pyright: src/cogelot/entrypoints/generate_training_data.py#L88
"__getitem__" method not defined on type "Space[Unknown]" (reportIndexIssue)
based_pyright: src/cogelot/entrypoints/generate_training_data.py#L88
"__getitem__" method not defined on type "Space[Unknown]" (reportIndexIssue)
based_pyright: src/cogelot/entrypoints/generate_training_data.py#L143
Cannot access attribute "pop" for class "MappingProxyType[Unknown, Unknown]"   Attribute "pop" is unknown (reportAttributeAccessIssue)
based_pyright: src/cogelot/entrypoints/generate_training_data.py#L143
Cannot access attribute "pop" for class "Mapping[Unknown, Unknown]"   Attribute "pop" is unknown (reportAttributeAccessIssue)
based_pyright: src/cogelot/entrypoints/generate_training_data.py#L143
Cannot access attribute "pop" for class "ObjectProxy"   Attribute "pop" is unknown (reportAttributeAccessIssue)
based_pyright: src/cogelot/entrypoints/generate_training_data.py#L143
Argument of type "Literal['rgb']" cannot be assigned to parameter "index" of type "SupportsIndex" in function "pop"   "Literal['rgb']" is incompatible with protocol "SupportsIndex"     "__index__" is not present (reportArgumentType)
based_pyright: src/cogelot/environment/vima.py#L41
Cannot access attribute "env" for class "Env[Any, Any]"   Attribute "env" is unknown (reportAttributeAccessIssue)
check_pre_commit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/