From 94532aa16b727b73d1a04c56a03e4dac376b60b5 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Sun, 26 Jun 2022 09:16:11 -0500 Subject: [PATCH] Silence a spurious pylint warning about assignment to shape lists --- pyopencl/array.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyopencl/array.py b/pyopencl/array.py index 2e846e29..4e8b52a1 100644 --- a/pyopencl/array.py +++ b/pyopencl/array.py @@ -2660,6 +2660,7 @@ def concatenate(arrays, axis=0, queue=None, allocator=None): raise ValueError("%d'th array has residual not matching " "other arrays" % i_ary) + # pylint: disable=unsupported-assignment-operation shape[axis] += ary.shape[axis] # }}} -- GitLab