From d645f1f89eae53c761717baeb04ffee3c2140c98 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 5 Sep 2024 10:59:07 -0400 Subject: [PATCH 1/2] Add sync target --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index d84e4f9b..0dd674c9 100644 --- a/Makefile +++ b/Makefile @@ -9,22 +9,32 @@ docs-watch: clean: rm -rf ./docs/build +sync-jumpstarter: + uv sync --all-extras --inexact + test-jumpstarter: uv run --isolated --package jumpstarter pytest jumpstarter tests build-jumpstarter: uvx --from build pyproject-build --installer uv --outdir dist +sync-contrib-%: contrib/% + uv sync --all-extras --inexact --package jumpstarter_driver_$( Date: Thu, 5 Sep 2024 15:20:44 +0000 Subject: [PATCH 2/2] Add `extraPaths` to fix errors resolving contrib packages in tests --- .vscode/settings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f6827d7c..3cc654cb 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,5 +6,8 @@ "--cov-report=xml" ], "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true + "python.testing.pytestEnabled": true, + "python.analysis.extraPaths": [ + "./contrib/*" + ] } \ No newline at end of file