Repository navigation
build(ruff): enforce standard logging with extra - #27
Conversation
Remove G004 from ignore and select LOG015 and TRY400. Both rules are stable in ruff 0.15.11. Refs furedea/agent-config#74 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review summary No findings. The change is config-only (
No source code changed, so no new tests are needed. I couldn't run 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
概要
ruff の設定で G004 の ignore を外し,LOG015 と TRY400 を select に追加しました.
ルール
LOGプレフィックスでも対象)logger.errorはlogger.exceptionを使うピン留めの ruff 0.15.11 で確認した結果,preview ルールはありません.そのため
explicit-preview-rules = trueに必要なフルIDの扱いは不要です.テンプレートに対して
ruff checkを実行し,違反は 0 件でした.コードの修正はありません.理由
logging は標準モジュールを使い、変数は f-string ではなく
extraで渡す方針にするためです.Refs furedea/agent-config#74
🤖 Generated with Claude Code