From d477aa04588dea8eebae3aa2ba417d37c011324d Mon Sep 17 00:00:00 2001 From: Bu5hm4nn Date: Sun, 22 Mar 2026 10:37:59 +0100 Subject: [PATCH] Use requirements-dev.txt for type-check job and disable misc mypy error --- .forgejo/workflows/ci.yaml | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 0ded193..b8cc25c 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -60,7 +60,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install mypy - pip install -r requirements.txt + pip install -r requirements-dev.txt - name: Run mypy run: mypy app scripts --ignore-missing-imports \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 1a185a9..e7f9048 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ extend-exclude = ''' [tool.mypy] ignore_missing_imports = true -disable_error_code = ["attr-defined"] +disable_error_code = ["attr-defined", "misc"] [tool.pytest.ini_options] testpaths = ["tests"]