mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-11-03 22:22:06 +08:00
Add VS Code settings
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -104,9 +104,6 @@ ENV/
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
|
||||
# .vscode
|
||||
.vscode/
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
|
||||
|
||||
21
.vscode/settings.json
vendored
Normal file
21
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"python.analysis.typeCheckingMode": "basic",
|
||||
"python.analysis.autoImportCompletions": true,
|
||||
"python.terminal.activateEnvironment": true,
|
||||
"python.terminal.activateEnvInCurrentTerminal": true,
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.pytestEnabled": true,
|
||||
"editor.rulers": [88],
|
||||
"python.defaultInterpreterPath": "${workspaceFolder}/.hatch/fastapi-users/bin/python",
|
||||
"python.testing.pytestPath": "${workspaceFolder}/.hatch/fastapi-users/bin/pytest",
|
||||
"python.testing.cwd": "${workspaceFolder}",
|
||||
"python.testing.pytestArgs": ["--no-cov"],
|
||||
"[python]": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll": "explicit",
|
||||
"source.organizeImports": "explicit"
|
||||
},
|
||||
"editor.defaultFormatter": "charliermarsh.ruff"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user