Skip to content

Commit 70501b2

Browse files
committed
fix(safety): normalize CRLF to LF to satisfy git diff --check
Files were committed with CRLF line endings on Windows, which git diff --check reports as trailing whitespace on every line (the CR character). This caused the tRPC-Python-Agent-review bot to fail. Normalize all safety-module files to LF. No content change.
1 parent 191281a commit 70501b2

14 files changed

Lines changed: 3262 additions & 3262 deletions

File tree

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Tencent is pleased to support the open source community by making trpc-agent-python available.
2-
#
3-
# Copyright (C) 2026 Tencent. All rights reserved.
4-
#
5-
# trpc-agent-python is licensed under the Apache License Version 2.0
6-
"""Compatibility re-export of the SDK Tool Script Safety Guard.
7-
8-
The implementation lives in ``trpc_agent_sdk.safety``. This package keeps
9-
existing example imports working::
10-
11-
from examples.tool_safety.safety import SafetyScanner
12-
"""
13-
from __future__ import annotations
14-
15-
from trpc_agent_sdk.safety import * # noqa: F401,F403
16-
from trpc_agent_sdk.safety import _SDK_AVAILABLE # noqa: F401
17-
from trpc_agent_sdk.safety import SCANNER_VERSION # noqa: F401
1+
# Tencent is pleased to support the open source community by making trpc-agent-python available.
2+
#
3+
# Copyright (C) 2026 Tencent. All rights reserved.
4+
#
5+
# trpc-agent-python is licensed under the Apache License Version 2.0
6+
"""Compatibility re-export of the SDK Tool Script Safety Guard.
7+
8+
The implementation lives in ``trpc_agent_sdk.safety``. This package keeps
9+
existing example imports working::
10+
11+
from examples.tool_safety.safety import SafetyScanner
12+
"""
13+
from __future__ import annotations
14+
15+
from trpc_agent_sdk.safety import * # noqa: F401,F403
16+
from trpc_agent_sdk.safety import _SDK_AVAILABLE # noqa: F401
17+
from trpc_agent_sdk.safety import SCANNER_VERSION # noqa: F401

examples/tool_safety/tool_safety_audit.jsonl

Lines changed: 40 additions & 40 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)