Skip to content

Commit

Permalink
CI: update pre-commit hooks to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevdp committed Oct 30, 2023
1 parent b093c4c commit 389eb97
Show file tree
Hide file tree
Showing 29 changed files with 31 additions and 31 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Expand Up @@ -9,7 +9,7 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: end-of-file-fixer
# only include python files
Expand All @@ -27,7 +27,7 @@ repos:
- id: flake8

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.6.0'
rev: 'v1.6.1'
hooks:
- id: mypy
files: (jax/|tests/typing_test\.py)
Expand All @@ -36,7 +36,7 @@ repos:
args: [--config=pyproject.toml]

- repo: https://github.com/mwouts/jupytext
rev: v1.14.7
rev: v1.15.2
hooks:
- id: jupytext
args: [--sync]
2 changes: 1 addition & 1 deletion docs/autodidax.md
Expand Up @@ -6,7 +6,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/autodidax.py
Expand Up @@ -20,7 +20,7 @@
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.14.7
# jupytext_version: 1.15.2
# kernelspec:
# display_name: Python 3
# name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/developer.md
Expand Up @@ -410,7 +410,7 @@ using [jupytext](https://jupytext.readthedocs.io/) by running `jupytext --sync`
notebooks; for example:

```
pip install jupytext==1.14.7
pip install jupytext==1.15.2
jupytext --sync docs/notebooks/quickstart.ipynb
```

Expand Down
2 changes: 1 addition & 1 deletion docs/jax-101/01-jax-basics.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/jax-101/02-jitting.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/jax-101/03-vectorization.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/jax-101/04-advanced-autodiff.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/jax-101/05-random-numbers.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/jax-101/05.1-pytrees.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/jax-101/06-parallelism.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/jax-101/07-state.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/jep/9407-type-promotion.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
language: python
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/Common_Gotchas_in_JAX.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
language: python
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/Custom_derivative_rules_for_Python_code.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/How_JAX_primitives_work.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/Neural_Network_and_Data_Loading.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
language: python
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/Writing_custom_interpreters_in_Jax.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
language: python
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/autodiff_cookbook.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
language: python
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/autodiff_remat.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/convolutions.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
language: python
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/external_callbacks.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/neural_network_with_tfds_data.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
language: python
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/quickstart.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
language: python
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/thinking_in_jax.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/vmapped_log_probs.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
language: python
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/xmap_tutorial.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3
name: python3
Expand Down
2 changes: 1 addition & 1 deletion docs/pallas/quickstart.md
Expand Up @@ -5,7 +5,7 @@ jupytext:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.14.7
jupytext_version: 1.15.2
kernelspec:
display_name: Python 3 (ipykernel)
language: python
Expand Down

0 comments on commit 389eb97

Please sign in to comment.