Fix ruff lint errors across matrixbot (F401, F841, E402)
Remove unused imports: logging from bot.py and config.py, RoomMessageText/ UnknownEvent from callbacks.py, functools.partial and MAX_INPUT_LENGTH from commands.py. Rename unused local variables to _ (resp in cmd_ping, symbols in render_keyboard_plain, guesses_left in two wordle functions). Move wordle import to top of commands.py to fix E402. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import asyncio
|
||||
import json
|
||||
import logging
|
||||
import signal
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
Reference in New Issue
Block a user