fix: use gitleaks CLI instead of licensed action, fix lint errors
Some checks failed
CI / gitleaks (push) Failing after 10s
CI / lint (push) Successful in 18s
CI / test (3.11) (push) Failing after 19s
CI / test (3.12) (push) Failing after 20s
CI / test (3.13) (push) Failing after 20s
CI / build (push) Has been skipped

- Replace gitleaks-action (requires paid license) with direct CLI
  invocation -- same engine, no license needed
- Fix ruff I001 import sorting in voice.py and test_llm.py
- Remove unused imports: _chat_request (test_llm), Path (test_music)
- Remove unused assignment: original_spawn (test_voice)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
user
2026-02-22 05:58:10 +01:00
parent 004656a64f
commit ba1af461de
5 changed files with 7 additions and 8 deletions

View File

@@ -23,7 +23,6 @@ from plugins.llm import ( # noqa: E402
_COOLDOWN,
_MAX_HISTORY,
_MAX_REPLY_LEN,
_chat_request,
_check_cooldown,
_extract_reply,
_get_api_key,
@@ -35,7 +34,6 @@ from plugins.llm import ( # noqa: E402
cmd_chat,
)
# -- Helpers -----------------------------------------------------------------
class _FakeState: