Register black with VS code

This commit is contained in:
Christian Wolf 2023-11-19 17:40:57 +01:00
parent d1133d6d36
commit 0129051756
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,9 @@
"python.testing.pytestEnabled": false, "python.testing.pytestEnabled": false,
"python.autoComplete.extraPaths": [ "python.autoComplete.extraPaths": [
"${workspaceFolder:code}/venv/lib" "${workspaceFolder:code}/venv/lib"
] ],
"editor.formatOnSave": true,
"editor.renderWhitespace": "all",
"python.formatting.provider": "black",
} }
} }

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[too.black]
line-length = 120