mirror of
https://github.com/Laurent2916/nio-llm.git
synced 2024-11-23 06:38:47 +00:00
39 lines
941 B
JSON
39 lines
941 B
JSON
{
|
|
// nice editor settings
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnPaste": true,
|
|
"editor.rulers": [
|
|
120
|
|
],
|
|
// editorconfig redundancy
|
|
"files.insertFinalNewline": true,
|
|
"files.trimTrailingWhitespace": true,
|
|
// hide unimportant files/folders
|
|
"files.exclude": {
|
|
// defaults
|
|
"**/.git": true,
|
|
"**/.svn": true,
|
|
"**/.hg": true,
|
|
"**/CVS": true,
|
|
"**/.DS_Store": true,
|
|
"**/Thumbs.db": true,
|
|
// annoying
|
|
"**/__pycache__": true,
|
|
"**/.mypy_cache": true,
|
|
"**/.ruff_cache": true,
|
|
"**/*.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/",
|
|
},
|
|
}
|