You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
commands/utility/brawlstars/bshelper.py:355: error: Invalid index type "str" for "dict[int, str]"; expected type "int" [index]
commands/utility/brawlstars/bshelper.py:386: error: Invalid index type "str" for "dict[int, str]"; expected type "int" [index]
config.py:10: error: Item "None" of "str | None" has no attribute "split" [union-attr]
loops/create_database_backup.py:34: error: Argument 1 to "dump_database_schema" has incompatible type "str | None"; expected "str" [arg-type]
loops/create_database_backup.py:34: error: Argument 2 to "dump_database_schema" has incompatible type "str | None"; expected "str" [arg-type]
loops/create_database_backup.py:36: error: Incompatible types in assignment (expression has type "VoiceChannel | StageChannel | ForumChannel | TextChannel | CategoryChannel | Thread | PrivateChannel | None", variable has type "TextChannel") [assignment]
utility.py:275: error: Argument 1 to "from_dict" of "tanjunEmbed" has incompatible type "Embed"; expected "Mapping[str, Any]" [arg-type]
utility.py:316: error: Argument 1 of "__eq__" is incompatible with supertype "builtins.object"; supertype defines the argument type as "object" [override]
utility.py:316: note: This violates the Liskov substitution principle
utility.py:1176: error: Incompatible return value type (got "float", expected "int") [return-value]
utility.py:1236: error: Return type "Coroutine[Any, Any, str]" of "original_response" incompatible with return type "Coroutine[Any, Any, InteractionMessage]" in supertype "discord.interactions.Interaction" [override]
utility.py:1237: error: "InteractionResponse[Client]" has no attribute "message" [attr-defined]
utility.py:1319: error: Argument 1 to "BasicAuth" has incompatible type "str | None"; expected "str" [arg-type]
utility.py:1319: error: Argument 2 to "BasicAuth" has incompatible type "str | None"; expected "str" [arg-type]
utility.py:1322: error: Unsupported left operand type for + ("None") [operator]
utility.py:1322: note: Left operand is of type "str | None"
utility.py:1329: error: Incompatible return value type (got "None", expected "str") [return-value]
utility.py:1332: error: Incompatible return value type (got "None", expected "str") [return-value]
localizer.py:6: error: Need type annotation for "reported_locales" (hint: "reported_locales: list[<type>] = ...") [var-annotated]
localizer.py:13: error: Name "Any" is not defined [name-defined]
localizer.py:13: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Any")
localizer.py:28: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]" [index]
localizer.py:32: error: Incompatible return value type (got "str | None", expected "str") [return-value]
localizer.py:47: error: Invalid index type "str" for "str"; expected type "SupportsIndex | slice[Any, Any, Any]" [index]
api.py:4: error: Skipping analyzing "asyncmy": module is installed, but missing library stubs or py.typed marker [import-untyped]
api.py:13: error: Function "builtins.any" is not valid as a type [valid-type]
api.py:13: note: Perhaps you meant "typing.Any" instead of "any"?
api.py:22: error: Name "Sequence" is not defined [name-defined]
api.py:22: error: Name "Any" is not defined [name-defined]
api.py:22: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Any")
api.py:22: error: Name "Dict" is not defined [name-defined]
api.py:22: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Dict")
api.py:22: error: Name "List" is not defined [name-defined]
api.py:22: note: Did you forget to import it from "typing"? (Suggestion: "from typing import List")
api.py:22: error: Name "Tuple" is not defined [name-defined]
api.py:22: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Tuple")
api.py:28: error: Return value expected [return-value]
api.py:70: error: Return value expected [return-value]
api.py:660: error: Name "datetime.datetime" is not defined [name-defined]
api.py:667: error: Incompatible default for argument "user_id" (default has type "None", argument has type "str | int") [assignment]
api.py:667: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
api.py:667: error: Name "List" is not defined [name-defined]
api.py:667: note: Did you forget to import it from "typing"? (Suggestion: "from typing import List")
api.py:667: error: Name "Tuple" is not defined [name-defined]
api.py:667: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Tuple")
api.py:667: error: Name "Any" is not defined [name-defined]
api.py:667: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Any")
api.py:675: error: Incompatible types in assignment (expression has type "tuple[str | int]", variable has type "tuple[str | int, str | int]") [assignment]
api.py:680: error: Name "List" is not defined [name-defined]
api.py:680: note: Did you forget to import it from "typing"? (Suggestion: "from typing import List")
api.py:680: error: Name "Tuple" is not defined [name-defined]
api.py:680: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Tuple")
api.py:680: error: Name "Any" is not defined [name-defined]
api.py:680: note: Did you forget to import it from "typing"? (Suggestion: "from typing import Any")
api.py:688: error: Item "None" of "Any | None" has no attribute "__iter__" (not iterable) [union-attr]
api.py:728: error: Name "List" is not defined [name-defined]
The full list of 2877 error(s)/note(s) is available in the artifact mypy-report-23600124533-d24903611e2f0d6f2b5c565a71ed5de9d3763c36 attached to this workflow run.
Mypy found 2877 type error(s)/note(s) for commit
d249036on branchrenovate/pypi-requests-vulnerability.(Workflow Run: https://github.com/TanjunBot/new_tanjun/actions/runs/23600124533)
Checklist (displaying first 75 of 2877 items):
The full list of 2877 error(s)/note(s) is available in the artifact
mypy-report-23600124533-d24903611e2f0d6f2b5c565a71ed5de9d3763c36attached to this workflow run.