From 09fd345de9aa11de24ed417542967be16016bb59 Mon Sep 17 00:00:00 2001 From: Jake VanderPlas Date: Tue, 27 Aug 2024 15:23:13 -0700 Subject: [PATCH] pre-commit: update hooks & pin using hashes --- .pre-commit-config.yaml | 8 ++++---- docs/_tutorials/advanced-autodiff.md | 2 +- docs/_tutorials/advanced-debugging.md | 2 +- docs/_tutorials/external-callbacks.md | 2 +- docs/_tutorials/gradient-checkpointing.md | 2 +- docs/_tutorials/jax-primitives.md | 2 +- docs/_tutorials/jaxpr.md | 2 +- docs/autodidax.md | 2 +- docs/autodidax.py | 2 +- docs/automatic-differentiation.md | 2 +- docs/automatic-vectorization.md | 2 +- docs/debugging.md | 2 +- docs/distributed_data_loading.md | 2 +- docs/ffi.md | 2 +- docs/jep/9407-type-promotion.md | 2 +- docs/jit-compilation.md | 2 +- docs/key-concepts.md | 2 +- docs/notebooks/Common_Gotchas_in_JAX.md | 2 +- docs/notebooks/Custom_derivative_rules_for_Python_code.md | 2 +- .../Distributed_arrays_and_automatic_parallelization.md | 2 +- docs/notebooks/How_JAX_primitives_work.md | 2 +- docs/notebooks/Neural_Network_and_Data_Loading.md | 2 +- docs/notebooks/Writing_custom_interpreters_in_Jax.md | 2 +- docs/notebooks/autodiff_cookbook.md | 2 +- docs/notebooks/autodiff_remat.md | 2 +- docs/notebooks/convolutions.md | 2 +- docs/notebooks/external_callbacks.md | 2 +- docs/notebooks/neural_network_with_tfds_data.md | 2 +- docs/notebooks/shard_map.md | 2 +- docs/notebooks/thinking_in_jax.md | 2 +- docs/notebooks/vmapped_log_probs.md | 2 +- docs/pallas/quickstart.md | 2 +- docs/pallas/tpu/distributed.md | 2 +- docs/pallas/tpu/matmul.md | 2 +- docs/pallas/tpu/pipelining.md | 2 +- docs/quickstart.md | 2 +- docs/random-numbers.md | 2 +- docs/sharded-computation.md | 2 +- docs/stateful-computations.md | 2 +- docs/working-with-pytrees.md | 2 +- 40 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 79a0df6e9..c89aa934d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0 hooks: - id: check-ast - id: check-merge-conflict @@ -26,12 +26,12 @@ repos: files: \.py$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.1 + rev: 8b5112a3b2ad121439a2092f8ff548c0d80f2514 # frozen: v0.6.1 hooks: - id: ruff - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.11.0' + rev: 'd4911cfb7f1010759fde68da196036feeb25b99d' # frozen: v1.11.2 hooks: - id: mypy files: (jax/|tests/typing_test\.py) @@ -40,7 +40,7 @@ repos: args: [--config=pyproject.toml] - repo: https://github.com/mwouts/jupytext - rev: v1.16.1 + rev: 8ed836db64ad5d304f2315e6bfd9049c9142e190 # frozen: v1.16.4 hooks: - id: jupytext files: docs/ diff --git a/docs/_tutorials/advanced-autodiff.md b/docs/_tutorials/advanced-autodiff.md index 20affa8cf..180f65f5d 100644 --- a/docs/_tutorials/advanced-autodiff.md +++ b/docs/_tutorials/advanced-autodiff.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/_tutorials/advanced-debugging.md b/docs/_tutorials/advanced-debugging.md index 56188e095..d4462feaf 100644 --- a/docs/_tutorials/advanced-debugging.md +++ b/docs/_tutorials/advanced-debugging.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/_tutorials/external-callbacks.md b/docs/_tutorials/external-callbacks.md index a46927e6a..c404f320f 100644 --- a/docs/_tutorials/external-callbacks.md +++ b/docs/_tutorials/external-callbacks.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/_tutorials/gradient-checkpointing.md b/docs/_tutorials/gradient-checkpointing.md index b768514e4..14a532b54 100644 --- a/docs/_tutorials/gradient-checkpointing.md +++ b/docs/_tutorials/gradient-checkpointing.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/_tutorials/jax-primitives.md b/docs/_tutorials/jax-primitives.md index 51abe2916..41ff86fd6 100644 --- a/docs/_tutorials/jax-primitives.md +++ b/docs/_tutorials/jax-primitives.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/_tutorials/jaxpr.md b/docs/_tutorials/jaxpr.md index 9fe990c0a..974ed39c1 100644 --- a/docs/_tutorials/jaxpr.md +++ b/docs/_tutorials/jaxpr.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/autodidax.md b/docs/autodidax.md index 0551b9905..471dd7c63 100644 --- a/docs/autodidax.md +++ b/docs/autodidax.md @@ -6,7 +6,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 name: python3 diff --git a/docs/autodidax.py b/docs/autodidax.py index b09534381..6d295fc50 100644 --- a/docs/autodidax.py +++ b/docs/autodidax.py @@ -20,7 +20,7 @@ # extension: .py # format_name: light # format_version: '1.5' -# jupytext_version: 1.16.1 +# jupytext_version: 1.16.4 # kernelspec: # display_name: Python 3 # name: python3 diff --git a/docs/automatic-differentiation.md b/docs/automatic-differentiation.md index cc4a19aab..07af05e3d 100644 --- a/docs/automatic-differentiation.md +++ b/docs/automatic-differentiation.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/automatic-vectorization.md b/docs/automatic-vectorization.md index 7559155e2..032d1c56f 100644 --- a/docs/automatic-vectorization.md +++ b/docs/automatic-vectorization.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/debugging.md b/docs/debugging.md index 7ee36f19f..94384035c 100644 --- a/docs/debugging.md +++ b/docs/debugging.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/distributed_data_loading.md b/docs/distributed_data_loading.md index be4d170ea..14fb1bb55 100644 --- a/docs/distributed_data_loading.md +++ b/docs/distributed_data_loading.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/ffi.md b/docs/ffi.md index 4568b670e..802fd4f22 100644 --- a/docs/ffi.md +++ b/docs/ffi.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 (ipykernel) language: python diff --git a/docs/jep/9407-type-promotion.md b/docs/jep/9407-type-promotion.md index 2d12944f1..cdb1f7805 100644 --- a/docs/jep/9407-type-promotion.md +++ b/docs/jep/9407-type-promotion.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/jit-compilation.md b/docs/jit-compilation.md index 2d442c841..bc6cb3c04 100644 --- a/docs/jit-compilation.md +++ b/docs/jit-compilation.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/key-concepts.md b/docs/key-concepts.md index c6cfb176e..b87808d14 100644 --- a/docs/key-concepts.md +++ b/docs/key-concepts.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/notebooks/Common_Gotchas_in_JAX.md b/docs/notebooks/Common_Gotchas_in_JAX.md index 0b21a57e3..3324fdb53 100644 --- a/docs/notebooks/Common_Gotchas_in_JAX.md +++ b/docs/notebooks/Common_Gotchas_in_JAX.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/notebooks/Custom_derivative_rules_for_Python_code.md b/docs/notebooks/Custom_derivative_rules_for_Python_code.md index 3c60cce0c..6c948650f 100644 --- a/docs/notebooks/Custom_derivative_rules_for_Python_code.md +++ b/docs/notebooks/Custom_derivative_rules_for_Python_code.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 name: python3 diff --git a/docs/notebooks/Distributed_arrays_and_automatic_parallelization.md b/docs/notebooks/Distributed_arrays_and_automatic_parallelization.md index c5f3c08ed..97b07172b 100644 --- a/docs/notebooks/Distributed_arrays_and_automatic_parallelization.md +++ b/docs/notebooks/Distributed_arrays_and_automatic_parallelization.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 name: python3 diff --git a/docs/notebooks/How_JAX_primitives_work.md b/docs/notebooks/How_JAX_primitives_work.md index 656cd0e59..b926c22ea 100644 --- a/docs/notebooks/How_JAX_primitives_work.md +++ b/docs/notebooks/How_JAX_primitives_work.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 name: python3 diff --git a/docs/notebooks/Neural_Network_and_Data_Loading.md b/docs/notebooks/Neural_Network_and_Data_Loading.md index d234700e4..03b8415fc 100644 --- a/docs/notebooks/Neural_Network_and_Data_Loading.md +++ b/docs/notebooks/Neural_Network_and_Data_Loading.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/notebooks/Writing_custom_interpreters_in_Jax.md b/docs/notebooks/Writing_custom_interpreters_in_Jax.md index 883d64c37..41d7a7e51 100644 --- a/docs/notebooks/Writing_custom_interpreters_in_Jax.md +++ b/docs/notebooks/Writing_custom_interpreters_in_Jax.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/notebooks/autodiff_cookbook.md b/docs/notebooks/autodiff_cookbook.md index 6dcba2470..6615e6535 100644 --- a/docs/notebooks/autodiff_cookbook.md +++ b/docs/notebooks/autodiff_cookbook.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/notebooks/autodiff_remat.md b/docs/notebooks/autodiff_remat.md index 077a8b6b1..a4fb27c58 100644 --- a/docs/notebooks/autodiff_remat.md +++ b/docs/notebooks/autodiff_remat.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 name: python3 diff --git a/docs/notebooks/convolutions.md b/docs/notebooks/convolutions.md index 467deeec2..83ab2d9fd 100644 --- a/docs/notebooks/convolutions.md +++ b/docs/notebooks/convolutions.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/notebooks/external_callbacks.md b/docs/notebooks/external_callbacks.md index be76f9913..910d47bd7 100644 --- a/docs/notebooks/external_callbacks.md +++ b/docs/notebooks/external_callbacks.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 name: python3 diff --git a/docs/notebooks/neural_network_with_tfds_data.md b/docs/notebooks/neural_network_with_tfds_data.md index 0c0c4bc5c..480e7477b 100644 --- a/docs/notebooks/neural_network_with_tfds_data.md +++ b/docs/notebooks/neural_network_with_tfds_data.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/notebooks/shard_map.md b/docs/notebooks/shard_map.md index 5b40e78dc..21e4111d5 100644 --- a/docs/notebooks/shard_map.md +++ b/docs/notebooks/shard_map.md @@ -7,7 +7,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/notebooks/thinking_in_jax.md b/docs/notebooks/thinking_in_jax.md index 16be7b9e9..dd0c73ec7 100644 --- a/docs/notebooks/thinking_in_jax.md +++ b/docs/notebooks/thinking_in_jax.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 name: python3 diff --git a/docs/notebooks/vmapped_log_probs.md b/docs/notebooks/vmapped_log_probs.md index f8cfc3553..5989a87bc 100644 --- a/docs/notebooks/vmapped_log_probs.md +++ b/docs/notebooks/vmapped_log_probs.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/pallas/quickstart.md b/docs/pallas/quickstart.md index 36cc14bf5..b8f9254f2 100644 --- a/docs/pallas/quickstart.md +++ b/docs/pallas/quickstart.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 (ipykernel) language: python diff --git a/docs/pallas/tpu/distributed.md b/docs/pallas/tpu/distributed.md index b7c058b11..9f6048295 100644 --- a/docs/pallas/tpu/distributed.md +++ b/docs/pallas/tpu/distributed.md @@ -6,7 +6,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 (ipykernel) language: python diff --git a/docs/pallas/tpu/matmul.md b/docs/pallas/tpu/matmul.md index a00880eba..aa19d7bc1 100644 --- a/docs/pallas/tpu/matmul.md +++ b/docs/pallas/tpu/matmul.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 (ipykernel) language: python diff --git a/docs/pallas/tpu/pipelining.md b/docs/pallas/tpu/pipelining.md index d753b404d..5ae053da2 100644 --- a/docs/pallas/tpu/pipelining.md +++ b/docs/pallas/tpu/pipelining.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 name: python3 diff --git a/docs/quickstart.md b/docs/quickstart.md index e071a7ce7..e19cb33ea 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/random-numbers.md b/docs/random-numbers.md index 85bb5ce01..2ad1eadb0 100644 --- a/docs/random-numbers.md +++ b/docs/random-numbers.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/sharded-computation.md b/docs/sharded-computation.md index 85dfcdc17..4f8c1b020 100644 --- a/docs/sharded-computation.md +++ b/docs/sharded-computation.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 name: python3 diff --git a/docs/stateful-computations.md b/docs/stateful-computations.md index 4e4063a68..2eeffc30b 100644 --- a/docs/stateful-computations.md +++ b/docs/stateful-computations.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python diff --git a/docs/working-with-pytrees.md b/docs/working-with-pytrees.md index 2bd1cc08e..e41179996 100644 --- a/docs/working-with-pytrees.md +++ b/docs/working-with-pytrees.md @@ -5,7 +5,7 @@ jupytext: extension: .md format_name: myst format_version: 0.13 - jupytext_version: 1.16.1 + jupytext_version: 1.16.4 kernelspec: display_name: Python 3 language: python