From f768b35594d7cb007b09766d51e92b4b7341723d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 23 Jun 2026 15:33:14 -0400 Subject: [PATCH 1/2] Bump bpr python version to 3.12 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8447001a..850e3536 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -152,7 +152,7 @@ reportUnusedFunction = "none" # we care about at this moment. # https://github.com/microsoft/pyright/issues/746 reportImportCycles = "none" -pythonVersion = "3.10" +pythonVersion = "3.12" pythonPlatform = "All" reportImplicitOverride = "hint" From 3888670294bc84c9cc0145cabc15e1bc976df218 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 23 Jun 2026 15:33:23 -0400 Subject: [PATCH 2/2] Update baseline --- .basedpyright/baseline.json | 88 ++++++++++++++++++++++++++++++------- 1 file changed, 72 insertions(+), 16 deletions(-) diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json index 8e075edb..f6c0e9ad 100644 --- a/.basedpyright/baseline.json +++ b/.basedpyright/baseline.json @@ -1140,14 +1140,6 @@ "endColumn": 41, "lineCount": 1 } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 59, - "lineCount": 1 - } } ], "./arraycontext/impl/jax/__init__.py": [ @@ -2549,6 +2541,78 @@ } ], "./arraycontext/impl/numpy/fake_numpy.py": [ + { + "code": "reportCallIssue", + "range": { + "startColumn": 15, + "endColumn": 48, + "lineCount": 4 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 48, + "lineCount": 4 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 51, + "endColumn": 71, + "lineCount": 3 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 15, + "endColumn": 76, + "lineCount": 2 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 76, + "lineCount": 2 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 45, + "endColumn": 72, + "lineCount": 1 + } + }, + { + "code": "reportCallIssue", + "range": { + "startColumn": 15, + "endColumn": 76, + "lineCount": 2 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 76, + "lineCount": 2 + } + }, + { + "code": "reportArgumentType", + "range": { + "startColumn": 45, + "endColumn": 72, + "lineCount": 1 + } + }, { "code": "reportAny", "range": { @@ -3005,14 +3069,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 19, - "endColumn": 40, - "lineCount": 1 - } - }, { "code": "reportAny", "range": {