Update cupy/_util.pyx
@@ -26,8 +26,12 @@ CUDA_ARRAY_INTERFACE_EXPORT_VERSION = int(
os.environ.get('CUPY_CUDA_ARRAY_INTERFACE_EXPORT_VERSION', 3))
-CUPY_DLPACK_EXPORT_VERSION = tuple([int(x) for x in \
- os.environ.get('CUPY_DLPACK_EXPORT_VERSION', '0.6').split('.')])
+CUPY_DLPACK_EXPORT_VERSION = tuple(
+ [
+ int(x)
+ for x in os.environ.get("CUPY_DLPACK_EXPORT_VERSION", "0.6").split(".")
+ ]
+)
cdef list _memos = []
