5 / .vscode /settings.json
hysts's picture
hysts HF staff
Migrate from yapf to black
89539f7
raw
history blame contribute delete
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
}