Fix bug where a parameter had the wrong placeholder name in a db query. #89
Annotations
10 errors and 1 warning
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L148
Argument of type "_SpecialForm" cannot be assigned to parameter "class_or_tuple" of type "_ClassInfo" in function "isinstance"
Type "_SpecialForm" is incompatible with type "_ClassInfo"
"_SpecialForm" is incompatible with "type"
"_SpecialForm" is incompatible with "UnionType"
"_SpecialForm" is incompatible with "tuple[_ClassInfo, ...]" (reportArgumentType)
|
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L154
Type of "message" is partially unknown
Type of "message" is "Message | Unknown" (reportUnknownVariableType)
|
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L154
Type of "fetch_message" is partially unknown
Type of "fetch_message" is "((id: int, /) -> Coroutine[Any, Any, Message]) | Unknown" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L154
Cannot access attribute "fetch_message" for class "PrivateChannel"
Attribute "fetch_message" is unknown (reportAttributeAccessIssue)
|
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L166
Type of "author" is partially unknown
Type of "author" is "User | Member | Unknown" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L166
Type of "mention" is partially unknown
Type of "mention" is "str | Unknown" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L167
Type of "content" is partially unknown
Type of "content" is "str | Unknown" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L171
Type of "author" is partially unknown
Type of "author" is "User | Member | Unknown" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L171
Argument type is partially unknown
Argument corresponds to parameter "object" in function "__new__"
Argument type is "User | Member | Unknown" (reportUnknownArgumentType)
|
Type Coverage and Linting @ 3.10:
exts/notifications/aci_notifications.py#L171
Type of "author" is partially unknown
Type of "author" is "User | Member | Unknown" (reportUnknownMemberType)
|
Type Coverage and Linting @ 3.10
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/setup-node@v3, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|