Skip to content

Commit f4486a2

Browse files
anhnh2002claude
andcommitted
Fix E402 lint failures in str_replace_editor
Move the module-level logger definition below the import block so all imports sit at the top of the file. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 195196b commit f4486a2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎codewiki/src/be/agent_tools/str_replace_editor.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
from pathlib import Path
1515
from typing import Annotated, Literal
1616

17-
# Configure logging and monitoring
18-
19-
logger = logging.getLogger(__name__)
20-
2117
from pydantic import BeforeValidator
2218
from pydantic_ai import RunContext, Tool
2319

2420
from ..utils import validate_mermaid_diagrams
2521
from .deps import CodeWikiDeps
2622

23+
# Configure logging and monitoring
24+
25+
logger = logging.getLogger(__name__)
26+
2727

2828
def _coerce_json_string(value):
2929
"""Coerce a JSON encoded string to its parsed Python value before pydantic

0 commit comments

Comments
 (0)