Enable UFMT on a bunch of low traffic Python files outside of main files (#106052)

Signed-off-by: Edward Z. Yang <ezyang@meta.com>

Pull Request resolved: https://github.com/pytorch/pytorch/pull/106052
Approved by: https://github.com/albanD, https://github.com/Skylion007
This commit is contained in:
Edward Z. Yang
2023-07-26 14:30:45 -04:00
committed by PyTorch MergeBot
parent 5a114f72bf
commit f70844bec7
56 changed files with 2317 additions and 1659 deletions

View File

@ -13,14 +13,12 @@
#
import sysconfig
import sys
import sysconfig
flags = [
f'-DPYTHON_EXECUTABLE:FILEPATH={sys.executable}',
f"-DPYTHON_EXECUTABLE:FILEPATH={sys.executable}",
f"-DPYTHON_INCLUDE_DIR={sysconfig.get_path('include')}",
]
print(' '.join(flags), end='')
print(" ".join(flags), end="")