Configure pytest settings
This commit is contained in:
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@@ -10,6 +10,11 @@
|
|||||||
// Disable Pylance, use basedpyright instead.
|
// Disable Pylance, use basedpyright instead.
|
||||||
// Only use the Microsoft python extension for envs and tests.
|
// Only use the Microsoft python extension for envs and tests.
|
||||||
"python.languageServer": "None",
|
"python.languageServer": "None",
|
||||||
|
"python.testing.pytestEnabled": true,
|
||||||
|
"python.testing.unittestEnabled": false,
|
||||||
|
"python.testing.pytestArgs": [
|
||||||
|
"tests",
|
||||||
|
],
|
||||||
"[python]": {
|
"[python]": {
|
||||||
"editor.defaultFormatter": "charliermarsh.ruff",
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user