diff --git a/src/openclpow.py b/src/openclpow.py index b8acbd4b..1091f555 100644 --- a/src/openclpow.py +++ b/src/openclpow.py @@ -47,7 +47,7 @@ def initCL(): device_type=cl.device_type.GPU)) if platform.vendor not in vendors: vendors.append(platform.vendor) - except: + except: # noqa:E722 pass if enabledGpus: ctx = cl.Context(devices=enabledGpus)