2023-05-18 17:05:06 +00:00
|
|
|
{
|
2023-10-11 10:31:47 +00:00
|
|
|
// nice editor settings
|
2023-05-18 17:05:06 +00:00
|
|
|
"editor.formatOnSave": true,
|
2023-10-11 10:31:47 +00:00
|
|
|
"editor.formatOnPaste": true,
|
|
|
|
"editor.rulers": [
|
|
|
|
120
|
|
|
|
],
|
|
|
|
// editorconfig redundancy
|
|
|
|
"files.insertFinalNewline": true,
|
|
|
|
"files.trimTrailingWhitespace": true,
|
|
|
|
// hide unimportant files/folders
|
2023-05-18 17:05:06 +00:00
|
|
|
"files.exclude": {
|
2023-10-11 10:31:47 +00:00
|
|
|
// defaults
|
2023-05-18 17:05:06 +00:00
|
|
|
"**/.git": true,
|
|
|
|
"**/.svn": true,
|
|
|
|
"**/.hg": true,
|
|
|
|
"**/CVS": true,
|
|
|
|
"**/.DS_Store": true,
|
|
|
|
"**/Thumbs.db": true,
|
2023-10-11 10:31:47 +00:00
|
|
|
// annoying
|
2023-05-18 17:05:06 +00:00
|
|
|
"**/__pycache__": true,
|
|
|
|
"**/.mypy_cache": true,
|
2023-05-20 19:24:47 +00:00
|
|
|
"**/.ruff_cache": true,
|
2023-10-11 10:31:47 +00:00
|
|
|
"**/*.tmp": true,
|
|
|
|
},
|
|
|
|
// python settings
|
|
|
|
"python.analysis.typeCheckingMode": "basic", // get ready to be annoyed
|
|
|
|
"[python]": {
|
|
|
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"source.organizeImports.ruff": true,
|
|
|
|
"source.fixAll": true,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"terminal.integrated.env.linux": {
|
|
|
|
"PYTHONPATH": "${workspaceFolder}/src/",
|
2023-05-18 17:05:06 +00:00
|
|
|
},
|
2023-06-12 17:48:14 +00:00
|
|
|
}
|