mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-01 21:57:51 +03:00
fccd197511
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate): --------- Co-authored-by: AmineDiro <aminedirhoussi1@gmail.com>
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit",
|
|
"source.fixAll": "explicit",
|
|
"source.unusedImports": "explicit",
|
|
},
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnSaveMode": "file",
|
|
"files.exclude": {
|
|
"**/__pycache__": true,
|
|
"**/.benchmarks/": true,
|
|
"**/.cache/": true,
|
|
"**/.pytest_cache/": true,
|
|
"**/.next/": true,
|
|
"**/build/": true,
|
|
"**/.docusaurus/": true,
|
|
"**/node_modules/": true
|
|
},
|
|
"json.sortOnSave.enable": true,
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit",
|
|
"source.fixAll": "explicit"
|
|
}
|
|
},
|
|
"python.formatting.provider": "black",
|
|
"python.analysis.extraPaths": [
|
|
"./backend"
|
|
],
|
|
"python.sortImports.path": "isort",
|
|
"python.linting.mypyEnabled": true,
|
|
"python.defaultInterpreterPath": "python3",
|
|
"python.linting.enabled": true,
|
|
"python.linting.flake8Enabled": true,
|
|
"python.linting.pycodestyleEnabled": true,
|
|
"python.linting.pylintEnabled": true,
|
|
"python.linting.pycodestyleCategorySeverity.W": "Error",
|
|
"python.linting.flake8CategorySeverity.W": "Error",
|
|
"python.testing.pytestArgs": [
|
|
"-v",
|
|
"--color=yes",
|
|
"--envfile=backend/tests/.env_test",
|
|
"backend/"
|
|
],
|
|
"python.testing.unittestEnabled": false,
|
|
"python.testing.pytestEnabled": true,
|
|
"python.testing.autoTestDiscoverOnSaveEnabled": true,
|
|
"python.analysis.autoImportCompletions": true,
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
"reportMissingImports": "error",
|
|
"reportUnusedImport": "warning",
|
|
"reportGeneralTypeIssues": "warning"
|
|
}
|
|
} |