diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json index c01febbe..b115d416 100644 --- a/.basedpyright/baseline.json +++ b/.basedpyright/baseline.json @@ -9106,6 +9106,32 @@ } } ], + "./arraycontext/impl/pytato/outline.py": [ + { + "code": "reportReturnType", + "range": { + "startColumn": 11, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 45, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 29, + "endColumn": 44, + "lineCount": 1 + } + } + ], "./arraycontext/loopy.py": [ { "code": "reportUnknownMemberType", diff --git a/test/test_arraycontext.py b/test/test_arraycontext.py index 6d7a38a4..64164695 100644 --- a/test/test_arraycontext.py +++ b/test/test_arraycontext.py @@ -311,12 +311,12 @@ def test_array_context_np_like( if sym_name == "zeros_like": if np.isscalar(result): - assert result == 0.0 + assert result == 0.0 # noqa: RUF069 else: assert actx.to_numpy(actx.np.all(actx.np.equal(result, 0.0))) elif sym_name == "ones_like": if np.isscalar(result): - assert result == 1.0 + assert result == 1.0 # noqa: RUF069 else: assert actx.to_numpy(actx.np.all(actx.np.equal(result, 1.0))) else: