From 5061ee218f9bdd17acb7abef0d90be0ce5d10e99 Mon Sep 17 00:00:00 2001 From: Max P Date: Sat, 26 Apr 2025 18:54:00 +0000 Subject: [PATCH] Configures Python environment for project Adds a `.env` file to define the `PYTHONPATH` variable, ensuring module resolution from the `src` directory. Configures VS Code settings to use the `.env` file and enhance Python analysis with extra paths. Improves development environment setup. --- .env | 1 + .vscode/settings.json | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .env create mode 100644 .vscode/settings.json diff --git a/.env b/.env new file mode 100644 index 0000000..56a282d --- /dev/null +++ b/.env @@ -0,0 +1 @@ +PYTHONPATH=src diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0284138 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "python.envFile": "${workspaceFolder}/.env", + "python.analysis.extraPaths": [ + "src" + ] +} \ No newline at end of file