diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json index 3c8f7069..5076a8e2 100644 --- a/.basedpyright/baseline.json +++ b/.basedpyright/baseline.json @@ -8045,6 +8045,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 4, + "endColumn": 25, + "lineCount": 1 + } + }, { "code": "reportUnknownParameterType", "range": { @@ -8117,6 +8125,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 14, + "lineCount": 1 + } + }, { "code": "reportAny", "range": { @@ -8124,6 +8140,14 @@ "endColumn": 43, "lineCount": 1 } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 11, + "endColumn": 17, + "lineCount": 1 + } } ], "./pytools/graph.py": [ @@ -8895,14 +8919,6 @@ }, { "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportDeprecated", "range": { "startColumn": 11, "endColumn": 37, @@ -8912,16 +8928,16 @@ { "code": "reportUnknownArgumentType", "range": { - "startColumn": 38, - "endColumn": 39, + "startColumn": 28, + "endColumn": 29, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 42, - "endColumn": 46, + "startColumn": 32, + "endColumn": 36, "lineCount": 1 } }, diff --git a/pytools/obj_array.py b/pytools/obj_array.py index c81e1185..d54c5e67 100644 --- a/pytools/obj_array.py +++ b/pytools/obj_array.py @@ -659,7 +659,7 @@ def obj_array_vectorize_n_args(f, *args): warn("obj_array_vectorize_n_args is deprecated, " "use obj_array.vectorize_n_args instead. " "This will stop working in 2027.", DeprecationWarning, stacklevel=2) - return obj_array_vectorize_n_args(f, *args) + return vectorize_n_args(f, *args) def vectorized_n_args(f):