mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "[BE][Easy] use pathlib.Path
instead of dirname
/ ".."
/ pardir
(#129374)"
This reverts commit 2293fe1024812d6349f6e2b3b7de82c6b73f11e4. Reverted https://github.com/pytorch/pytorch/pull/129374 on behalf of https://github.com/malfet due to failing internal ROCM builds with error: ModuleNotFoundError: No module named hipify ([comment](https://github.com/pytorch/pytorch/pull/129374#issuecomment-2562973920))
This commit is contained in:
@ -30,7 +30,7 @@ DATA_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "typing"))
|
||||
REVEAL_DIR = os.path.join(DATA_DIR, "reveal")
|
||||
PASS_DIR = os.path.join(DATA_DIR, "pass")
|
||||
FAIL_DIR = os.path.join(DATA_DIR, "fail")
|
||||
MYPY_INI = os.path.join(os.path.dirname(os.path.dirname(DATA_DIR)), "mypy.ini")
|
||||
MYPY_INI = os.path.join(DATA_DIR, os.pardir, os.pardir, "mypy.ini")
|
||||
CACHE_DIR = os.path.join(DATA_DIR, ".mypy_cache")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user