mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-13 18:50:47 +05:30
Add vscode configs for black, pylint, flake and isort extensions
This commit is contained in:
Vendored
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnPaste": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"files.autoSave": "onFocusChange",
|
||||
"git.autofetch": true,
|
||||
"[jsonc]": {
|
||||
"editor.defaultFormatter": "vscode.json-language-features"
|
||||
},
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.black-formatter",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": "explicit"
|
||||
},
|
||||
},
|
||||
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.pytestEnabled": true,
|
||||
"pylint.args": [
|
||||
"--rcfile=pyproject.toml"
|
||||
],
|
||||
"black-formatter.args": [
|
||||
"--config=pyproject.toml"
|
||||
],
|
||||
"flake8.args": [
|
||||
"--toml-config=pyproject.toml"
|
||||
],
|
||||
"isort.args": [
|
||||
"--settings-path=pyproject.toml"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user