Skip to content

Commit

Permalink
Silence invalid-name warning.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 575225107
  • Loading branch information
hbq1 authored and ChexDev committed Oct 20, 2023
1 parent 626d697 commit 3c9af1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chex/_src/pytypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3c9af1b

Please sign in to comment.