ControlNet / .vscode /settings.json
hysts's picture
hysts HF staff
Migrate from yapf to black
f521e88
raw
history blame
512 Bytes
{
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnType": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"black-formatter.args": [
"--line-length=119"
],
"isort.args": ["--profile", "black"],
"flake8.args": [
"--max-line-length=119"
],
"ruff.args": [
"--line-length=119"
],
"editor.formatOnSave": true,
"files.insertFinalNewline": true
}