mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE] Format .ci/
/ .github/
/ benchmarks/
/ functorch/
/ tools/
/ torchgen/
with ruff format
(#132577)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/132577 Approved by: https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
04adb74d08
commit
267f82b860
2
.github/scripts/trymerge.py
vendored
2
.github/scripts/trymerge.py
vendored
@ -1506,7 +1506,7 @@ def checks_to_str(checks: List[Tuple[str, Optional[str]]]) -> str:
|
||||
|
||||
|
||||
def checks_to_markdown_bullets(
|
||||
checks: List[Tuple[str, Optional[str], Optional[int]]]
|
||||
checks: List[Tuple[str, Optional[str], Optional[int]]],
|
||||
) -> List[str]:
|
||||
return [
|
||||
f"- [{c[0]}]({c[1]})" if c[1] is not None else f"- {c[0]}" for c in checks[:5]
|
||||
|
Reference in New Issue
Block a user