Skip to content

pre commit update #690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ ci:

repos:
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.4.2
hooks:
- id: black-jupyter
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
rev: 1.8.5
hooks:
- id: nbqa-isort
additional_dependencies: [isort==5.6.4]
Expand Down Expand Up @@ -99,7 +99,7 @@ repos:
language: pygrep
types_or: [markdown, rst, jupyter]
- repo: https://github.com/mwouts/jupytext
rev: v1.15.1
rev: v1.16.3
hooks:
- id: jupytext
files: ^examples/.+\.ipynb$
Expand Down
6 changes: 3 additions & 3 deletions examples/ode_models/ODE_with_manual_gradients.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@
" ret = np.zeros(\n",
" (self._n_states, self._n_odeparams + self._n_ivs)\n",
" ) # except the following entries\n",
" ret[\n",
" 0, 0\n",
" ] = X # \\frac{\\partial [\\alpha X - \\beta XY]}{\\partial \\alpha}, and so on...\n",
" ret[0, 0] = (\n",
" X # \\frac{\\partial [\\alpha X - \\beta XY]}{\\partial \\alpha}, and so on...\n",
" )\n",
" ret[0, 1] = -X * Y\n",
" ret[1, 2] = -Y\n",
" ret[1, 3] = X * Y\n",
Expand Down
6 changes: 3 additions & 3 deletions examples/ode_models/ODE_with_manual_gradients.myst.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ class LotkaVolterraModel:
ret = np.zeros(
(self._n_states, self._n_odeparams + self._n_ivs)
) # except the following entries
ret[
0, 0
] = X # \frac{\partial [\alpha X - \beta XY]}{\partial \alpha}, and so on...
ret[0, 0] = (
X # \frac{\partial [\alpha X - \beta XY]}{\partial \alpha}, and so on...
)
ret[0, 1] = -X * Y
ret[1, 2] = -Y
ret[1, 3] = X * Y
Expand Down
1 change: 0 additions & 1 deletion examples/samplers/samplers_mvnormal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
normalized effective sampling rates.
"""


import time

import arviz as az
Expand Down
1 change: 1 addition & 0 deletions scripts/rerun.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
python scripts/rerun.py --fp_notebook=examples/case_studies/BEST.ipynb --commit_to=rerun-best --push_to=mine
```
"""

import argparse
import logging
import pathlib
Expand Down
1 change: 1 addition & 0 deletions sphinxext/thumbnail_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

Modified from the seaborn project, which modified the mpld3 project.
"""

import base64
import json
import os
Expand Down
Loading