Skip to content

ci: correct from checks. #1719

ci: correct from checks.

ci: correct from checks. #1719

Triggered via push December 2, 2024 22:48
Status Failure
Total duration 38s
Artifacts

precommit.yml

on: push
runner / Pre-commit actions
30s
runner / Pre-commit actions
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 warnings
runner / Pre-commit actions
Process completed with exit code 1.
test_bot.test_voice: tests/test_bot.py#L578
AssertionError: assert 240 != 240 + where 240 = <Player(Thread-4, stopped daemon 140113510135360)>._sent_payloads + where <Player(Thread-4, stopped daemon 140113510135360)> = <ActiveVoiceState: channel=GuildVoice(id=1313277673585246248, name='_test_voice_two-e91d869', type=<ChannelType.GUILD_VOICE: 2>) guild=Guild(id=1041449294022070292, name='NAFF Test Suite', description=None) volume=0.5 playing=False audio=<AudioVolume: tests/test_audio.mp3>>.player
test_bot.test_emoji: tests/test_bot.py#L1
failed on teardown with "exceptiongroup.ExceptionGroup: errors while tearing down <Module test_bot.py> (2 sub-exceptions)"
runner / Pre-commit actions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
runner / Pre-commit actions: interactions/ext/prefixed_commands/command.py#L235
Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
runner / Pre-commit actions: interactions/ext/prefixed_commands/command.py#L527
Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
runner / Pre-commit actions: interactions/models/discord/message.py#L617
`system_content` is too complex (20 > 13)