Cut a bunch of dead code, combine ff_metadata again into one file, wo… #94
Annotations
10 errors and 4 warnings
src/beira/exts/snowball/snowball.py#L166
Cannot assign to attribute "hit_odds_input" for class "SnowballSettingsModal*"
Expression of type "TextInput[Self@SnowballSettingsModal]" cannot be assigned to attribute "hit_odds_input" of class "SnowballSettingsModal"
"discord.ui.text_input.TextInput" is incompatible with "discord.ui.text_input.TextInput"
Type parameter "V@TextInput" is covariant, but "Self@SnowballSettingsModal" is not a subtype of "Self@SnowballSettingsModal"
Type "Self@SnowballSettingsModal" is incompatible with type "Self@SnowballSettingsModal" (reportAttributeAccessIssue)
|
src/beira/exts/snowball/snowball.py#L172
Cannot assign to attribute "stock_cap_input" for class "SnowballSettingsModal*"
Expression of type "TextInput[Self@SnowballSettingsModal]" cannot be assigned to attribute "stock_cap_input" of class "SnowballSettingsModal"
"discord.ui.text_input.TextInput" is incompatible with "discord.ui.text_input.TextInput"
Type parameter "V@TextInput" is covariant, but "Self@SnowballSettingsModal" is not a subtype of "Self@SnowballSettingsModal"
Type "Self@SnowballSettingsModal" is incompatible with type "Self@SnowballSettingsModal" (reportAttributeAccessIssue)
|
src/beira/exts/snowball/snowball.py#L178
Cannot assign to attribute "transfer_cap_input" for class "SnowballSettingsModal*"
Expression of type "TextInput[Self@SnowballSettingsModal]" cannot be assigned to attribute "transfer_cap_input" of class "SnowballSettingsModal"
"discord.ui.text_input.TextInput" is incompatible with "discord.ui.text_input.TextInput"
Type parameter "V@TextInput" is covariant, but "Self@SnowballSettingsModal" is not a subtype of "Self@SnowballSettingsModal"
Type "Self@SnowballSettingsModal" is incompatible with type "Self@SnowballSettingsModal" (reportAttributeAccessIssue)
|
src/beira/exts/triggers/misc_triggers.py#L201
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)
|
src/beira/exts/triggers/misc_triggers.py#L207
Type of "message" is partially unknown
Type of "message" is "Message | Unknown" (reportUnknownVariableType)
|
src/beira/exts/triggers/misc_triggers.py#L207
Type of "fetch_message" is partially unknown
Type of "fetch_message" is "((id: int, /) -> Coroutine[Any, Any, Message]) | Unknown" (reportUnknownMemberType)
|
src/beira/exts/triggers/misc_triggers.py#L207
Cannot access attribute "fetch_message" for class "PrivateChannel"
Attribute "fetch_message" is unknown (reportAttributeAccessIssue)
|
src/beira/exts/triggers/misc_triggers.py#L219
Type of "author" is partially unknown
Type of "author" is "User | Member | Unknown" (reportUnknownMemberType)
|
src/beira/exts/triggers/misc_triggers.py#L219
Type of "mention" is partially unknown
Type of "mention" is "str | Unknown" (reportUnknownMemberType)
|
src/beira/exts/triggers/misc_triggers.py#L220
Type of "content" is partially unknown
Type of "content" is "str | Unknown" (reportUnknownMemberType)
|
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/
|
src/beira/__init__.py#L1
Cycle detected in import chain
/home/runner/work/Beira/Beira/src/beira/__init__.py
/home/runner/work/Beira/Beira/src/beira/bot.py
/home/runner/work/Beira/Beira/src/beira/checks.py (reportImportCycles)
|
src/beira/__init__.py#L1
Cycle detected in import chain
/home/runner/work/Beira/Beira/src/beira/__init__.py
/home/runner/work/Beira/Beira/src/beira/checks.py (reportImportCycles)
|
src/beira/utils/embeds.py#L105
Unnecessary "# pyright: ignore" rule: "reportUnknownVariableType" (reportUnnecessaryTypeIgnoreComment)
|
This job failed
Loading