已合并
fix: lintrunner --all-files --take NEWLINE -a #35875
Jingwei Huang创建于 5月17日
fix: lintrunner --all-files --take NEWLINE -a #35875
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 Jingwei Huang 的贡献)5月17日 创建了 pull request,commit 05cd1b60
ascend-robot
5月17日 评论:
5月17日 评论:
tools/flight_recorder/components/builder.py
@@ -325,0 +45,7 @@
45+ logger.warning("tabulate is not installed. Proceeding without it.")
46+
47+ # Define a no-op tabulate function
48+ def tabulate(data: Any, headers: Any = None) -> Any: # type: ignore[misc]
49+ return data
50+
51+
52+"""
【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:mypy,请Committer检视其合理性。


tools/flight_recorder/components/types.py
@@ -584,0 +30,5 @@
30+class TypeInfo(NamedTuple):
31+ name: str
32+ fields: list[tuple[str, type]] # type: ignore[type-arg]
33+
34+
35+ def from_type(cls, c: T) -> "TypeInfo":
【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:mypy,请Committer检视其合理性。


ascend-robot
5月17日 评论:
5月17日 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-Ascend/pytorch | ✅ 李伟, renyujin (2/2) | ✅ 李伟 (1/1) |
| test | ✅ renyujin, 李伟 (2/2) | ✅ 李伟 (1/1) |
| torch_npu/_inductor | ✅ 李伟, renyujin (2/2) | ✅ 李伟 (1/1) |
| torch_npu/csrc/distributed | ✅ 李伟, renyujin (2/2) | ✅ 李伟 (1/1) |
| torch_npu/distributed | ✅ 李伟, renyujin (2/2) | ✅ 李伟 (1/1) |
| torch_npu/dynamo | ✅ 李伟, renyujin (2/2) | ✅ 李伟 (1/1) |
| torch_npu/npu | ✅ 李伟, renyujin (2/2) | ✅ 李伟 (1/1) |
| torch_npu/utils | ✅ renyujin, 李伟 (2/2) | ✅ 李伟 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
huangjingwei, thanks for your pull request. All authors of the commits have signed the CLA. 👍


此处折叠了82条消息 查看更多
ascend-robot
5月18日 评论:
5月18日 评论:
5月18日 合入了pull request
5月18日 修改了pull request 的描述
5月18日 修改了pull request 的描述
5月18日 修改了pull request 的描述
【合入来源】
【修改方案】
lintrunner --all-files --take NEWLINE -a修复换行符,不影响代码逻辑。【资料变更】
不涉及
【接口变更】
不涉及
【功能验证】
不涉及
【CheckList】