Fix dice calculation. #78
Annotations
6 errors and 1 warning
Type Coverage and Linting @ 3.10:
exts/dice.py#L633
Type of "error" is partially unknown
Type of "error" is "(coro: ((Unknown, ContextT@error, CommandError) -> Coroutine[Any, Any, Any]) | ((ContextT@error, CommandError) -> Coroutine[Any, Any, Any]), /) -> (((Unknown, ContextT@error, CommandError) -> Coroutine[Any, Any, Any]) | ((ContextT@error, CommandError) -> Coroutine[Any, Any, Any]))" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10:
exts/dice.py#L647
Argument type is partially unknown
Argument corresponds to parameter "command" in function "add_command"
Argument type is "HybridCommand[Unknown, (expression: str | None = None), None]" (reportUnknownArgumentType)
|
Type Coverage and Linting @ 3.10:
exts/ai_generation/ai_generation.py#L95
Type of "open" is partially unknown
Type of "open" is "(fp: Unknown, mode: str = "r", formats: Unknown | None = None) -> Image" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10:
exts/ai_generation/utils.py#L54
Type of "open" is partially unknown
Type of "open" is "(fp: Unknown, mode: str = "r", formats: Unknown | None = None) -> Image" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10:
exts/ai_generation/utils.py#L56
Type of "save" is partially unknown
Type of "save" is "(fp: Unknown, format: Unknown | None = None, **params: Unknown) -> None" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10
5 errors
|
Type Coverage and Linting @ 3.10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/setup-node@v3, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|