Skip to content

InviteTarget Type-Hint Fix #465

InviteTarget Type-Hint Fix

InviteTarget Type-Hint Fix #465

Re-run triggered September 27, 2023 20:31
Status Failure
Total duration 59s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
check: discord/state.py#L2833
Argument of type "VoiceStateUpdateEvent" cannot be assigned to parameter "data" of type "VoiceState" in function "_update_voice_state"   "channel_id" is not required in "type[VoiceState]"   "guild_id" is missing from "VoiceStateUpdateEvent" (reportGeneralTypeIssues)
check
1 error
check: discord/utils.py#L729
Unnecessary "# type: ignore" comment
check: discord/ext/commands/bot.py#L1056
Type variable "ContextT" may go unsolved if caller supplies no argument for parameter "cls"   Provide an overload that specifies the return type when the argument is not supplied (reportInvalidTypeVarUse)