style: auto-format enhance_skill_local.py and test with ruff

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
yusyus
2026-02-24 07:05:50 +03:00
parent 5ae57d192a
commit 1229ff2baf
2 changed files with 2 additions and 6 deletions

View File

@@ -1214,9 +1214,7 @@ def _detect_api_target() -> tuple[str, str] | None:
Returns:
(target, api_key) tuple if an API key is found, else None.
"""
anthropic_key = os.environ.get("ANTHROPIC_API_KEY") or os.environ.get(
"ANTHROPIC_AUTH_TOKEN"
)
anthropic_key = os.environ.get("ANTHROPIC_API_KEY") or os.environ.get("ANTHROPIC_AUTH_TOKEN")
if anthropic_key:
return ("claude", anthropic_key)