pytorch/tools/linter
Xuehai Pan 135c7db99d Use absolute path path.resolve() -> path.absolute() (#129409)
Changes:

1. Always explicit `.absolute()`: `Path(__file__)` -> `Path(__file__).absolute()`
2. Replace `path.resolve()` with `path.absolute()` if the code is resolving the PyTorch repo root directory.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/129409
Approved by: https://github.com/albanD
2024-12-24 08:33:08 +00:00
..
adapters Use absolute path path.resolve() -> path.absolute() (#129409) 2024-12-24 08:33:08 +00:00
clang_tidy [BE][Easy] enable postponed annotations in tools (#129375) 2024-06-29 09:23:35 +00:00
__init__.py