Skip to content

Actions trigger errors during code validation #1366

@pbiering

Description

@pbiering

Can one support here please:

https://github.com/Kozea/Radicale/actions/runs/8116969424/job/22188139714?pr=1365

radicale/storage/multifilesystem/base.py:47: error: Argument 1 to "contextmanager" has incompatible type "Callable[[CollectionBase, str, str, str | None], Iterator[IO[AnyStr]]]"; expected "Callable[..., Iterator[IO[Never]]]"  [arg-type]
radicale/storage/multifilesystem/meta.py:64: error: Need type annotation for "fo"  [var-annotated]
radicale/storage/multifilesystem/cache.py:89: error: Need type annotation for "fo"  [var-annotated]
radicale/storage/multifilesystem/sync.py:98: error: Need type annotation for "fo"  [var-annotated]
radicale/storage/multifilesystem/upload.py:46: error: Need type annotation for "fo"  [var-annotated]

best would be a PR against https://github.com/pbiering/Radicale/tree/fix-actions as I'm collecting here all which is required to make "Actions" happy again.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions