Skip to content

Commit 1a8726a

Browse files
authored
Merge pull request #479 from scverse/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 8a8a69e + f651780 commit 1a8726a

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
)$
3535
3636
- repo: https://github.com/astral-sh/ruff-pre-commit
37-
rev: v0.12.12
37+
rev: v0.13.0
3838
hooks:
3939
- id: ruff
4040
args: [--fix, --exit-non-zero-on-fix]

use_cases/autotune_scvi.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
"model_cls.setup_anndata(\n",
279279
" adata,\n",
280280
" layer=\"counts\",\n",
281-
" labels_key=\"cell_type\", \n",
281+
" labels_key=\"cell_type\",\n",
282282
" batch_key=\"cell_source\",\n",
283283
" categorical_covariate_keys=[\"donor\"],\n",
284284
" continuous_covariate_keys=[\"percent_mito\", \"percent_ribo\"],\n",
@@ -750,7 +750,7 @@
750750
" scib_subsample_rows=10000,\n",
751751
" local_mode=True,\n",
752752
" ignore_reinit_error=True,\n",
753-
" solver=\"randomized\"\n",
753+
" solver=\"randomized\",\n",
754754
")"
755755
]
756756
},
@@ -1037,8 +1037,9 @@
10371037
}
10381038
],
10391039
"source": [
1040-
"#Manual Check:\n",
1040+
"# Manual Check:\n",
10411041
"from scib_metrics.benchmark import Benchmarker\n",
1042+
"\n",
10421043
"bm = Benchmarker(\n",
10431044
" adata,\n",
10441045
" batch_key=\"cell_source\",\n",

0 commit comments

Comments
 (0)