Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#126)
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.2.2 → v0.3.2](astral-sh/ruff-pre-commit@v0.2.2...v0.3.2)

* [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 Mar 14, 2024
1 parent ac38968 commit febffb6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
# doesn't work in combination with jupytext hook yet. See https://github.com/mwouts/jupytext/issues/580
exclude: "docs/notebooks/.*\\.md"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
rev: v0.3.2
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
Expand Down
6 changes: 3 additions & 3 deletions docs/notebooks/tutorial_3k.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1333,9 +1333,9 @@
"outputs": [],
"source": [
"adata.obs[\"cnv_status\"] = \"normal\"\n",
"adata.obs.loc[\n",
" adata.obs[\"cnv_leiden\"].isin([\"10\", \"16\", \"13\", \"8\", \"12\", \"17\", \"1\", \"14\", \"11\"]), \"cnv_status\"\n",
"] = \"tumor\""
"adata.obs.loc[adata.obs[\"cnv_leiden\"].isin([\"10\", \"16\", \"13\", \"8\", \"12\", \"17\", \"1\", \"14\", \"11\"]), \"cnv_status\"] = (\n",
" \"tumor\"\n",
")"
]
},
{
Expand Down
1 change: 1 addition & 0 deletions src/infercnvpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Python library to infer copy number variation (CNV) from single-cell RNA-seq data."""

from importlib.metadata import version

from . import datasets, io, pl, pp, tl
Expand Down
1 change: 1 addition & 0 deletions src/infercnvpy/datasets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Example datasets."""

import importlib.resources as pkg_resources

import scanpy as sc
Expand Down
1 change: 1 addition & 0 deletions src/infercnvpy/tl/_scores.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Scores to summarize and assess copy number variation."""

import warnings
from collections.abc import Mapping
from typing import Any, Optional
Expand Down

0 comments on commit febffb6

Please sign in to comment.