pytorch/tools/test
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
..
docstring_linter_testdata Enable ruff's unused variable checking everywhere in pytorch (#136965) 2024-12-22 02:33:11 +00:00
heuristics Use absolute path path.resolve() -> path.absolute() (#129409) 2024-12-24 08:33:08 +00:00
set_linter_testdata set_linter finds and replaces built-in set in Python code (#138454) 2024-12-04 14:31:24 +00:00
gen_operators_yaml_test.py
gen_oplist_test.py
linter_test_case.py set_linter finds and replaces built-in set in Python code (#138454) 2024-12-04 14:31:24 +00:00
test_cmake.py [3/N] Apply py39 ruff fixes (#142115) 2024-12-11 17:50:10 +00:00
test_codegen.py
test_codegen_model.py
test_create_alerts.py
test_docstring_linter.py docstring_linter finds long classes and functions without docstrings (#140426) 2024-12-08 17:03:57 +00:00
test_executorch_custom_ops.py
test_executorch_gen.py
test_executorch_signatures.py
test_executorch_types.py
test_executorch_unboxing.py
test_gen_backend_stubs.py [BE][Easy] use pathlib.Path instead of dirname / ".." / pardir (#129374) 2024-12-21 22:08:01 +00:00
test_selective_build.py
test_set_linter.py set_linter finds and replaces built-in set in Python code (#138454) 2024-12-04 14:31:24 +00:00
test_test_run.py Use absolute path path.resolve() -> path.absolute() (#129409) 2024-12-24 08:33:08 +00:00
test_test_selections.py Use absolute path path.resolve() -> path.absolute() (#129409) 2024-12-24 08:33:08 +00:00
test_upload_stats_lib.py Use absolute path path.resolve() -> path.absolute() (#129409) 2024-12-24 08:33:08 +00:00
test_upload_test_stats.py
test_utils.py
test_vulkan_codegen.py