forust
|
70d7855f06
|
fix(userbot): add missing safone.py imports, apply ruff --unsafe-fixes
- Add missing aiohttp, PIL, BytesIO imports to safone.py (F821 runtime bugs)
- Apply ruff --unsafe-fixes (27 fixes): ternary operators, .get() patterns,
contextlib.suppress, enumerate(), collapsible if/else, remove .keys()
|
2026-06-19 15:27:12 +02:00 |
|
forust
|
0506aaaac8
|
chore(userbot): apply ruff check --fix and ruff format
- ruff check --fix: 210 auto-fixed errors (import sorting, trailing
whitespace, unused imports, f-string fixups, deprecated annotations)
- ruff format: 104 files reformatted to consistent style
- 268 non-auto-fixable issues remain (S113 requests timeout, etc.)
|
2026-06-19 12:19:01 +02:00 |
|