vscode-autoconfig 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +20 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -703,8 +703,28 @@ var python_default = {
703
703
  { ecosystem: "python", kind: "manifestPresence", name: "pyproject.toml" }
704
704
  ]
705
705
  },
706
+ settings: {
707
+ "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
708
+ "editor.formatOnSave": true
709
+ },
706
710
  extensions: ["ms-python.python", "ms-python.vscode-pylance"]
707
711
  },
712
+ {
713
+ id: "python-pytest-dependency",
714
+ description: "pytest dependency detected",
715
+ when: {
716
+ any: [
717
+ { ecosystem: "python", kind: "dependency", name: "pytest" },
718
+ { ecosystem: "python", kind: "devDependency", name: "pytest" }
719
+ ]
720
+ },
721
+ settings: {
722
+ "python.testing.pytestEnabled": true,
723
+ "python.testing.unittestEnabled": false,
724
+ "python.testing.pytestArgs": ["tests"]
725
+ },
726
+ extensions: ["ms-python.python"]
727
+ },
708
728
  {
709
729
  id: "python-black-dependency",
710
730
  description: "black dependency detected",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vscode-autoconfig",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Analyze your project's manifests and auto-generate .vscode/settings.json and .vscode/extensions.json via rule-based detection (no AI/LLM).",
5
5
  "license": "MIT",
6
6
  "type": "module",