From daaa91279d2a29f35ef19bf2c33a87f5add956fd Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Fri, 18 Jun 2021 14:58:12 -0500 Subject: [PATCH] lint fixes --- arraycontext/impl/pytato.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arraycontext/impl/pytato.py b/arraycontext/impl/pytato.py index 773ee98..153ab14 100644 --- a/arraycontext/impl/pytato.py +++ b/arraycontext/impl/pytato.py @@ -41,7 +41,7 @@ from pyrsistent import pmap, PMap try: import pyopencl as cl # noqa: F401 import pyopencl.array as cla - import pytato as pt + import pytato as pt # type: ignore except ImportError: pass @@ -488,7 +488,6 @@ class PytatoPyOpenCLArrayContext(ArrayContext): warn("'arg_names' don't bear any significance in " "PytatoPyOpenCLArrayContext.", stacklevel=2) - def preprocess_arg(arg): if isinstance(arg, cla.Array): return self.thaw(arg) -- GitLab