From 2247c29586145b84f7a6001ff03246e9334d8a42 Mon Sep 17 00:00:00 2001 From: "Xuefeng Ding (IHEP)" <dingxf@ihep.ac.cn> Date: Fri, 6 Dec 2024 06:16:45 +0800 Subject: [PATCH] update fix small bugs --- .vscode/settings.json | 3 +-- setup_dev.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 931c752..64de4c6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -44,7 +44,6 @@ "jupyter.debugJustMyCode": false, "debugpy.debugJustMyCode": false, "ruff.fixAll": true, - "python.defaultInterpreterPath": ".venv/bin/python", "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, "python.analysis.autoFormatStrings": true, @@ -54,7 +53,7 @@ "python.analysis.inlayHints.pytestParameters": true, "python.analysis.inlayHints.variableTypes": true, "python.analysis.typeCheckingMode": "strict", - "python.analysis.extraPaths": ["${workspaceFolder}/python"], + "python.analysis.extraPaths": ["${workspaceFolder}/src"], "[shellscript]": { "editor.defaultFormatter": "foxundermoon.shell-format" }, diff --git a/setup_dev.sh b/setup_dev.sh index e49402d..cd6e031 100755 --- a/setup_dev.sh +++ b/setup_dev.sh @@ -17,7 +17,7 @@ python3 -m venv .venv PIP=".venv/bin/pip" -library_output_dir="$PWD/python/myproj/simulation/_csrc" +library_output_dir="$PWD/src/myproj/simulation/_csrc" $PIP install -r requirements-dev.txt $PIP install --no-build-isolation --check-build-dependencies -ve . \ -Ccmake.define.CMAKE_EXPORT_COMPILE_COMMANDS=1 \ -- GitLab