[4/N] Apply ruff UP035 rule to python code#164206
[4/N] Apply ruff UP035 rule to python code#164206cyyever wants to merge 2 commits intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/164206
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 85b77b6 with merge base 2610746 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
|
@pytorchmergebot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchmergebot merge |
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Follows pytorch#164104 Pull Request resolved: pytorch#164206 Approved by: https://github.com/albanD
Co-authored-by: dilililiwhy<why.wuhuanyu@huawei.com> # message auto-generated for no-merge-commit merge: !25828 merge main_sync_20251017 into master TORCH MAIN SYNC : take collections.abc.Callable (Ruff UP035) Created-by: dilililiwhy Commit-by: dilililiwhy Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one ` /kind <>` line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: 2.10.0.dev20251015 **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes # **Special notes for your reviewers**: pytorch/pytorch#164206 See merge request: Ascend/pytorch!25828
Follows #164104
cc @ezyang @EikanWang @jgong5 @wenzhe-nrv