diff --git a/.github/workflows/ruff-check.yml b/.github/workflows/ruff-check.yml index 104738a9..b29db160 100644 --- a/.github/workflows/ruff-check.yml +++ b/.github/workflows/ruff-check.yml @@ -27,7 +27,7 @@ jobs: with: python-version: '3.12' - # 3. Determine changed Python files in api-server/ and state-manager/ + # 3. Determine changed Python files - name: Get changed Python files id: changed-files run: | @@ -41,7 +41,7 @@ jobs: # List all changed .py files in target directories FILES=$(git diff --name-only --diff-filter=ACMRT $BASE_SHA $HEAD_SHA \ - | grep -E '^(api-server|state-manager)/.*\.py$' || true) + | grep -E '\.py$' || true) echo "files=$FILES" >> "$GITHUB_OUTPUT" diff --git a/api-server/app/main.py b/api-server/app/main.py index 08a909fa..6a6475f4 100644 --- a/api-server/app/main.py +++ b/api-server/app/main.py @@ -1,6 +1,7 @@ """ main file for exosphere apis """ + import os from beanie import init_beanie from fastapi import FastAPI