Remove lint dependency ufmt (#132573)

`ufmt` is a combination of `black + usort`.

This PR removes `ufmt` and run `black` and `usort` separately.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/132573
Approved by: https://github.com/ezyang
ghstack dependencies: #129769, #132572
This commit is contained in:
Xuehai Pan
2024-08-04 10:41:36 +08:00
committed by PyTorch MergeBot
parent f7aeb394b6
commit d2dc173664
5 changed files with 54 additions and 45 deletions

View File

@ -1,6 +1,5 @@
{
"recommendations": [
"ms-python.python",
"omnilib.ufmt"
]
}

View File

@ -4,14 +4,12 @@
},
"files.associations": {
"*.py.in": "python",
"*.pyi.in": "python",
"editor.defaultFormatter": "omnilib.ufmt"
"*.pyi.in": "python"
},
"files.eol": "\n",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"python.formatting.provider": "none",
"python.linting.enabled": true,
"python.linting.flake8Enabled": true
}