From a4f40f570355bd117811ab3cdc72697639a99985 Mon Sep 17 00:00:00 2001 From: Liquid369 Date: Mon, 5 Oct 2026 08:13:57 +0700 Subject: [PATCH] Lint with mypy 0.920 0.781 rejects builtin generics (tuple[...]), which #22 uses, and needs typed-ast, which no longer builds on 3.10. 0.920 no longer bundles stubs, so pin them exactly: open ranges pull stubs with positional-only syntax that 0.920 cannot parse. Master and #20 pass as-is. --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 48da8a0..42860d3 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -22,7 +22,7 @@ jobs: - name: Install Dependencies run: | pip install -r requirements.txt - pip install mypy==0.781 + pip install mypy==0.920 types-requests==2.28.11 types-simplejson==3.18.0 - name: Lint run: |