Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#96)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.8 → v0.5.1](astral-sh/ruff-pre-commit@v0.4.8...v0.5.1)
- [github.com/pre-commit/mirrors-clang-format: v18.1.6 → v18.1.8](pre-commit/mirrors-clang-format@v18.1.6...v18.1.8)

* Max numpy version for old jax

* Update tests.yml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dan Foreman-Mackey <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and dfm authored Jul 13, 2024
1 parent f0dd996 commit 27cdf52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
jax-version: ["jax[cpu]"]
include:
- os: ubuntu-latest
jax-version: "jax[cpu]==0.4.20"
jax-version: "'jax[cpu]==0.4.20' 'numpy<2.0'"

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ repos:
hooks:
- id: black-jupyter
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.8"
rev: "v0.5.1"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v18.1.6"
rev: "v18.1.8"
hooks:
- id: clang-format

0 comments on commit 27cdf52

Please sign in to comment.