papers / .vscode /settings.json
hysts's picture
hysts HF staff
Migrate from yapf to black
9fb4b90
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
}