From 87aeb77f3079e90eee598323977c8287c000ca0d Mon Sep 17 00:00:00 2001 From: Bu5hm4nn Date: Sun, 22 Mar 2026 10:44:54 +0100 Subject: [PATCH] Add debugging to type-check and exclude pages/components from mypy --- .forgejo/workflows/ci.yaml | 4 +++- .forgejo/workflows/deploy.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index c7a728b..f15cc18 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -67,5 +67,7 @@ jobs: pip install mypy pip install nicegui fastapi uvicorn yfinance polars pandas pydantic pyyaml pip list + - name: Show working directory + run: pwd && ls -la - name: Run mypy - run: mypy app scripts --ignore-missing-imports \ No newline at end of file + run: mypy app scripts --ignore-missing-imports --exclude 'app/pages/.*' --exclude 'app/components/.*' \ No newline at end of file diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index a1fe375..e0d8338 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -66,8 +66,10 @@ jobs: pip install mypy pip install nicegui fastapi uvicorn yfinance polars pandas pydantic pyyaml pip list + - name: Show working directory + run: pwd && ls -la - name: Run mypy - run: mypy app scripts --ignore-missing-imports + run: mypy app scripts --ignore-missing-imports --exclude 'app/pages/.*' --exclude 'app/components/.*' build: runs-on: [linux, docker]