Skip to content

Commit e32812c

Browse files
[pre-commit.ci] pre-commit autoupdate (#560)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black-pre-commit-mirror: 25.12.0 → 26.1.0](psf/black-pre-commit-mirror@25.12.0...26.1.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 8f51152 commit e32812c

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ repos:
1515
exclude: docs/tutorials
1616

1717
- repo: https://github.com/psf/black-pre-commit-mirror
18-
rev: "25.12.0"
18+
rev: "26.1.0"
1919
hooks:
2020
- id: black-jupyter

docs/tutorials/parallel.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,7 @@
255255
],
256256
"source": [
257257
"with open(\"script.py\", \"w\") as f:\n",
258-
" f.write(\n",
259-
" \"\"\"\n",
258+
" f.write(\"\"\"\n",
260259
"import sys\n",
261260
"import time\n",
262261
"import emcee\n",
@@ -285,8 +284,7 @@
285284
" sampler.run_mcmc(initial, nsteps)\n",
286285
" end = time.time()\n",
287286
" print(end - start)\n",
288-
"\"\"\"\n",
289-
" )\n",
287+
"\"\"\")\n",
290288
"\n",
291289
"mpi_time = !mpiexec -n {ncpu} python script.py\n",
292290
"mpi_time = float(mpi_time[0])\n",

0 commit comments

Comments
 (0)