ci: weekly check. #1700
precommit.yml
on: push
runner / Pre-commit actions
31s
Annotations
4 errors and 4 warnings
runner / Pre-commit actions
Process completed with exit code 1.
|
test_bot.test_roles:
tests/test_bot.py#L268
AssertionError: assert '_test_role3' == '_test_renamed'
- _test_renamed
+ _test_role3
|
test_bot.test_voice:
tests/test_bot.py#L578
AssertionError: assert 224 != 224
+ where 224 = <Player(Thread-4, stopped daemon 139830150284864)>._sent_payloads
+ where <Player(Thread-4, stopped daemon 139830150284864)> = <ActiveVoiceState: channel=GuildVoice(id=1303128393683959809, name='_test_voice_two-1cb1bb7', 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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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)
|