mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
#143628 didn't handle a few cases right for example: ```py $ python3 tools/linter/adapters/set_linter.py torch/_inductor/scheduler.py torch/_inductor/scheduler.py:261:24: Builtin `set` is deprecated 259 | multiline=False, 260 | ) 261 | return f"{self}{data_str}" ^ 262 | 263 | def log_details(self) -> None: torch/_inductor/scheduler.py:261:33: Builtin `set` is deprecated 259 | multiline=False, 260 | ) 261 | return f"{self}{data_str}" ^ 262 | 263 | def log_details(self) -> None: ``` also multi-line fstrings Pull Request resolved: https://github.com/pytorch/pytorch/pull/143725 Approved by: https://github.com/yanboliang |
||
|---|---|---|
| .. | ||
| adapters | ||
| clang_tidy | ||
| __init__.py | ||