Skip to content

fix missing comma in slots #209

fix missing comma in slots

fix missing comma in slots #209

Triggered via push February 6, 2024 13:30
Status Failure
Total duration 1m 23s
Artifacts

lint.yml

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

Annotations

22 errors and 16 warnings
check 3.10: cogs/feeds.py#L48
"AsyncStream" is not a known member of module "tweepy.asynchronous" (reportAttributeAccessIssue)
check 3.10: cogs/feeds.py#L491
Argument of type "Unknown | list[FeedParserDict]" cannot be assigned to parameter "markup" of type "str | bytes | SupportsRead[str] | SupportsRead[bytes]" in function "__init__" (reportArgumentType)
check 3.10: cogs/feeds.py#L521
No overloads for "find" match the provided arguments (reportCallIssue)
check 3.10: cogs/feeds.py#L521
Cannot access member "get" for type "object*"   Member "get" is unknown (reportAttributeAccessIssue)
check 3.10: cogs/feeds.py#L521
Argument of type "Unknown | list[FeedParserDict]" cannot be assigned to parameter "iterable" of type "AsyncIterable[T@find]" in function "find"   Type "Unknown | list[FeedParserDict]" cannot be assigned to type "AsyncIterable[T@find]"     "list[FeedParserDict]" is incompatible with protocol "AsyncIterable[T@find]"       "__aiter__" is not present (reportArgumentType)
check 3.10: cogs/fun.py#L379
Argument of type "*tuple[str | Message, str | None, str | None]" cannot be assigned to parameter "args" of type "*_Ts@run_in_executor" in function "run_in_executor"   Type "*tuple[str | Message, str | None, str | None]" cannot be assigned to type "*tuple[Unknown, str, str]"     "*tuple[str | Message, str | None, str | None]" is incompatible with "*tuple[Unknown, str, str]"       Tuple entry 2 is incorrect type         Type "str | None" cannot be assigned to type "str"           "None" is incompatible with "str" (reportArgumentType)
check 3.10: cogs/fun.py#L385
No overloads for "get" match the provided arguments (reportCallIssue)
check 3.10: cogs/fun.py#L385
Argument of type "str | bytes" cannot be assigned to parameter "__key" of type "str" in function "get"   Type "str | bytes" cannot be assigned to type "str"     "bytes" is incompatible with "str" (reportArgumentType)
check 3.10: cogs/fun.py#L387
No overloads for "get" match the provided arguments (reportCallIssue)
check 3.10: cogs/fun.py#L387
Argument of type "str | bytes" cannot be assigned to parameter "__key" of type "str" in function "get"   Type "str | bytes" cannot be assigned to type "str"     "bytes" is incompatible with "str" (reportArgumentType)
check 3.10
Process completed with exit code 1.
check 3.x: cogs/feeds.py#L48
"AsyncStream" is not a known member of module "tweepy.asynchronous" (reportAttributeAccessIssue)
check 3.x: cogs/feeds.py#L491
Argument of type "Unknown | list[FeedParserDict]" cannot be assigned to parameter "markup" of type "str | bytes | SupportsRead[str] | SupportsRead[bytes]" in function "__init__" (reportArgumentType)
check 3.x: cogs/feeds.py#L521
No overloads for "find" match the provided arguments (reportCallIssue)
check 3.x: cogs/feeds.py#L521
Cannot access member "get" for type "object*"   Member "get" is unknown (reportAttributeAccessIssue)
check 3.x: cogs/feeds.py#L521
Argument of type "Unknown | list[FeedParserDict]" cannot be assigned to parameter "iterable" of type "AsyncIterable[T@find]" in function "find"   Type "Unknown | list[FeedParserDict]" cannot be assigned to type "AsyncIterable[T@find]"     "list[FeedParserDict]" is incompatible with protocol "AsyncIterable[T@find]"       "__aiter__" is not present (reportArgumentType)
check 3.x: cogs/fun.py#L379
Argument of type "*tuple[str | Message, str | None, str | None]" cannot be assigned to parameter "args" of type "*_Ts@run_in_executor" in function "run_in_executor"   Type "*tuple[str | Message, str | None, str | None]" cannot be assigned to type "*tuple[Unknown, str, str]"     "*tuple[str | Message, str | None, str | None]" is incompatible with "*tuple[Unknown, str, str]"       Tuple entry 2 is incorrect type         Type "str | None" cannot be assigned to type "str"           "None" is incompatible with "str" (reportArgumentType)
check 3.x: cogs/fun.py#L385
No overloads for "get" match the provided arguments (reportCallIssue)
check 3.x: cogs/fun.py#L385
Argument of type "str | bytes" cannot be assigned to parameter "__key" of type "str" in function "get"   Type "str | bytes" cannot be assigned to type "str"     "bytes" is incompatible with "str" (reportArgumentType)
check 3.x: cogs/fun.py#L387
No overloads for "get" match the provided arguments (reportCallIssue)
check 3.x: cogs/fun.py#L387
Argument of type "str | bytes" cannot be assigned to parameter "__key" of type "str" in function "get"   Type "str | bytes" cannot be assigned to type "str"     "bytes" is incompatible with "str" (reportArgumentType)
check 3.x
Process completed with exit code 1.
check 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/.
check 3.10: bot.py#L23
Import "config" could not be resolved from source (reportMissingModuleSource)
check 3.10: bot.py#L346
Unnecessary "# type: ignore" comment
check 3.10: launcher.py#L29
Import "config" could not be resolved from source (reportMissingModuleSource)
check 3.10: launcher.py#L290
Unnecessary "# type: ignore" comment
check 3.10: utils/converters.py#L146
Unnecessary "# type: ignore" comment
check 3.10: cogs/admin.py#L393
Unnecessary "# type: ignore" comment
check 3.10: cogs/lewd.py#L336
Unnecessary "# type: ignore" comment
check 3.x
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/.
check 3.x: bot.py#L23
Import "config" could not be resolved from source (reportMissingModuleSource)
check 3.x: bot.py#L346
Unnecessary "# type: ignore" comment
check 3.x: launcher.py#L29
Import "config" could not be resolved from source (reportMissingModuleSource)
check 3.x: launcher.py#L290
Unnecessary "# type: ignore" comment
check 3.x: utils/converters.py#L146
Unnecessary "# type: ignore" comment
check 3.x: cogs/admin.py#L393
Unnecessary "# type: ignore" comment
check 3.x: cogs/lewd.py#L336
Unnecessary "# type: ignore" comment