Skip to content

Commit 9ca2b94

Browse files
Merge pull request #145 from scverse/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 253279e + 8d33f7b commit 9ca2b94

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ default_stages:
77
minimum_pre_commit_version: 2.16.0
88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.11.11
10+
rev: v0.14.1
1111
hooks:
1212
- id: ruff
1313
args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]
1414
- id: ruff-format
1515
- repo: https://github.com/pre-commit/pre-commit-hooks
16-
rev: v5.0.0
16+
rev: v6.0.0
1717
hooks:
1818
- id: detect-private-key
1919
- id: check-ast

notebooks/developers_resources/storage_format/_latest_run_notebook.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,4 +929,4 @@
929929
},
930930
"nbformat": 4,
931931
"nbformat_minor": 5
932-
}
932+
}

notebooks/examples/speed_up_illustration.ipynb

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
],
364364
"source": [
365365
"%%time\n",
366-
"fig, axs = plt.subplots(ncols=2, figsize=(2jjjj, 2))\n",
366+
"fig, axs = plt.subplots(ncols=2, figsize=(2, 2))\n",
367367
"sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_hires_image\").pl.show(ax=axs.tolist(), fig=fig)"
368368
]
369369
},
@@ -525,7 +525,9 @@
525525
],
526526
"source": [
527527
"%%time\n",
528-
"sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\").pl.show(\"CytAssist_FFPE_Human_Breast_Cancer\", figsize=(15.0, 15.0))\n",
528+
"sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\").pl.show(\n",
529+
" \"CytAssist_FFPE_Human_Breast_Cancer\", figsize=(15.0, 15.0)\n",
530+
")\n",
529531
"# \"scale3\" is automatically selected and the image is automatically rasterized before rendering"
530532
]
531533
},
@@ -571,7 +573,9 @@
571573
],
572574
"source": [
573575
"%%time\n",
574-
"sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale3\").pl.show(\"CytAssist_FFPE_Human_Breast_Cancer\")"
576+
"sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale3\").pl.show(\n",
577+
" \"CytAssist_FFPE_Human_Breast_Cancer\"\n",
578+
")"
575579
]
576580
},
577581
{
@@ -601,7 +605,9 @@
601605
],
602606
"source": [
603607
"%%time\n",
604-
"sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale3\").pl.show(\"CytAssist_FFPE_Human_Breast_Cancer\", dpi=100)\n",
608+
"sdata.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale3\").pl.show(\n",
609+
" \"CytAssist_FFPE_Human_Breast_Cancer\", dpi=100\n",
610+
")\n",
605611
"# the image is automatically rasterized before rendering"
606612
]
607613
},
@@ -619,7 +625,10 @@
619625
"outputs": [],
620626
"source": [
621627
"sdata_cropped = sdata.query.bounding_box(\n",
622-
" min_coordinate=[0, 0], max_coordinate=[10000, 10000], axes=(\"x\", \"y\"), target_coordinate_system=\"CytAssist_FFPE_Human_Breast_Cancer\"\n",
628+
" min_coordinate=[0, 0],\n",
629+
" max_coordinate=[10000, 10000],\n",
630+
" axes=(\"x\", \"y\"),\n",
631+
" target_coordinate_system=\"CytAssist_FFPE_Human_Breast_Cancer\",\n",
623632
")"
624633
]
625634
},
@@ -702,7 +711,9 @@
702711
],
703712
"source": [
704713
"%%time\n",
705-
"sdata_cropped.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale0\").pl.show(\"CytAssist_FFPE_Human_Breast_Cancer\")\n",
714+
"sdata_cropped.pl.render_images(\"CytAssist_FFPE_Human_Breast_Cancer_full_image\", scale=\"scale0\").pl.show(\n",
715+
" \"CytAssist_FFPE_Human_Breast_Cancer\"\n",
716+
")\n",
706717
"# using the highest resolution"
707718
]
708719
},

0 commit comments

Comments
 (0)