Skip to content

Improve resiliency of info retrieval and add tests #487

Improve resiliency of info retrieval and add tests

Improve resiliency of info retrieval and add tests #487

Triggered via push December 27, 2023 02:59
Status Failure
Total duration 45s
Artifacts

lint.yml

on: push
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#L728
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)