Changeset - 5ee5e17a3fd3
[Not reviewed]
default
0 1 1
drewp@bigasterisk.com - 20 months ago 2023-05-22 00:00:25
drewp@bigasterisk.com
help vscode pytest runner work with pdm
2 files changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
.vscode/settings.json
Show inline comments
 
@@ -3,8 +3,11 @@
 
  "python.analysis.extraPaths": ["__pypackages__/3.10/lib"],
 
  "python.analysis.diagnosticMode": "workspace",
 
  "cmake.configureOnOpen": false,
 
  "toTypeScript.fixUnreachableCode": false,
 
  "toTypeScript.fixUnusedLabel": false,
 
  "toTypeScript.forgottenThisPropertyAccess": false,
 
  "python.formatting.provider": "yapf"
 
  "python.formatting.provider": "yapf",
 
  "python.testing.pytestEnabled": true,
 
  "python.testing.pytestPath": "./bin/pytest",
 
  "python.analysis.enablePytestSupport": true
 
}
bin/pytest
Show inline comments
 
new file 100755
 
#!/bin/sh
 
exec pdm run pytest "$@"
0 comments (0 inline, 0 general)