pytorch
4c0dce50 - [BE] Apply ufmt to run_test and GitHub Python util scripts (#97588)

Commit
1 year ago
[BE] Apply ufmt to run_test and GitHub Python util scripts (#97588) This has been bugging me for a while as I'm working on these Python scripts and they are not tracked by ufmt linter. So I add these script into that linter. ``` [[linter]] code = 'UFMT' include_patterns = [ '.github/**/*.py', 'test/run_test.py', ``` This change should just work and not break anything as ufmt (black + usort) linter is very safe to use for standalone util scripts. Pull Request resolved: https://github.com/pytorch/pytorch/pull/97588 Approved by: https://github.com/kit1980
Author
Committer
Parents
Loading