Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#585)
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.3.5 → v0.4.2](astral-sh/ruff-pre-commit@v0.3.5...v0.4.2)
- [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](pre-commit/mirrors-mypy@v1.9.0...v1.10.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>
  • Loading branch information
pre-commit-ci[bot] authored May 2, 2024
1 parent 390a4fb commit df4b8ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
hooks:
- id: prettier
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.5
rev: v0.4.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]
Expand All @@ -27,7 +27,7 @@ repos:
- id: trailing-whitespace
- id: check-case-conflict
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.10.0
hooks:
- id: mypy
args: [--no-strict-optional, --ignore-missing-imports]
Expand Down
6 changes: 3 additions & 3 deletions pertpy/tools/_coda/_base_coda.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,10 +849,10 @@ def summary(self, data: AnnData | MuData, extended: bool = False, modality_key:
table.add_column("Name", justify="left", style="cyan")
table.add_column("Value", justify="left")
table.add_row("Data", "Data: %d samples, %d cell types" % data_dims)
table.add_row("Reference cell type", "%s" % str(sample_adata.uns["scCODA_params"]["reference_cell_type"]))
table.add_row("Formula", "%s" % sample_adata.uns["scCODA_params"]["formula"])
table.add_row("Reference cell type", "{}".format(str(sample_adata.uns["scCODA_params"]["reference_cell_type"])))
table.add_row("Formula", "{}".format(sample_adata.uns["scCODA_params"]["formula"]))
if extended:
table.add_row("Reference index", "%s" % str(sample_adata.uns["scCODA_params"]["reference_index"]))
table.add_row("Reference index", "{}".format(str(sample_adata.uns["scCODA_params"]["reference_index"])))
if select_type == "spikeslab":
table.add_row(
"Spike-and-slab threshold",
Expand Down

0 comments on commit df4b8ab

Please sign in to comment.