From 3c9af1b34d05cc075268890780780c22d205b651 Mon Sep 17 00:00:00 2001 From: Iurii Kemaev Date: Fri, 20 Oct 2023 08:25:18 -0700 Subject: [PATCH] Silence `invalid-name` warning. PiperOrigin-RevId: 575225107 --- chex/_src/pytypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chex/_src/pytypes.py b/chex/_src/pytypes.py index 0f70d15..c6da077 100644 --- a/chex/_src/pytypes.py +++ b/chex/_src/pytypes.py @@ -60,6 +60,6 @@ # TODO(iukemaev, jakevdp): upgrade minimum jax version & remove this condition. if hasattr(jax.typing, 'DTypeLike'): # jax version 0.4.19 or newer - ArrayDType = jax.typing.DTypeLike + ArrayDType = jax.typing.DTypeLike # pylint:disable=invalid-name else: - ArrayDType = Any + ArrayDType = Any # pylint:disable=invalid-name