cast members to list in massban #192
Annotations
22 errors and 14 warnings
check 3.10:
cogs/feeds.py#L48
"AsyncStream" is not a known member of module "tweepy.asynchronous" (reportGeneralTypeIssues)
|
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__" (reportGeneralTypeIssues)
|
check 3.10:
cogs/fun.py#L367
Expression of type "Unit" cannot be assigned to return type "Self@Unit"
Type "Unit" cannot be assigned to type "Self@Unit" (reportGeneralTypeIssues)
|
check 3.10:
cogs/fun.py#L683
No overloads for "get" match the provided arguments (reportGeneralTypeIssues)
|
check 3.10:
cogs/fun.py#L683
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" (reportGeneralTypeIssues)
|
check 3.10:
cogs/fun.py#L685
No overloads for "get" match the provided arguments (reportGeneralTypeIssues)
|
check 3.10:
cogs/fun.py#L685
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" (reportGeneralTypeIssues)
|
check 3.10:
cogs/fun.py#L924
Cannot access member "multiline_textsize" for type "ImageDraw"
Member "multiline_textsize" is unknown (reportGeneralTypeIssues)
|
check 3.10:
cogs/manga.py#L76
Cannot access member "is_nsfw" for type "DMChannel"
Member "is_nsfw" is unknown (reportGeneralTypeIssues)
|
check 3.10:
cogs/manga.py#L76
Cannot access member "is_nsfw" for type "GroupChannel"
Member "is_nsfw" is unknown (reportGeneralTypeIssues)
|
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" (reportGeneralTypeIssues)
|
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__" (reportGeneralTypeIssues)
|
check 3.x:
cogs/fun.py#L367
Expression of type "Unit" cannot be assigned to return type "Self@Unit"
Type "Unit" cannot be assigned to type "Self@Unit" (reportGeneralTypeIssues)
|
check 3.x:
cogs/fun.py#L683
No overloads for "get" match the provided arguments (reportGeneralTypeIssues)
|
check 3.x:
cogs/fun.py#L683
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" (reportGeneralTypeIssues)
|
check 3.x:
cogs/fun.py#L685
No overloads for "get" match the provided arguments (reportGeneralTypeIssues)
|
check 3.x:
cogs/fun.py#L685
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" (reportGeneralTypeIssues)
|
check 3.x:
cogs/fun.py#L924
Cannot access member "multiline_textsize" for type "ImageDraw"
Member "multiline_textsize" is unknown (reportGeneralTypeIssues)
|
check 3.x:
cogs/manga.py#L76
Cannot access member "is_nsfw" for type "DMChannel"
Member "is_nsfw" is unknown (reportGeneralTypeIssues)
|
check 3.x:
cogs/manga.py#L76
Cannot access member "is_nsfw" for type "GroupChannel"
Member "is_nsfw" is unknown (reportGeneralTypeIssues)
|
check 3.x
Process completed with exit code 1.
|
check 3.10:
bot.py#L17
Import "config" could not be resolved from source (reportMissingModuleSource)
|
check 3.10:
bot.py#L345
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#L145
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:
bot.py#L17
Import "config" could not be resolved from source (reportMissingModuleSource)
|
check 3.x:
bot.py#L345
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#L145
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
|