From 49f36119c5185ef868625d38dadca34b5080eb73 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 19:02:50 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 25.1.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...26.1.0) - [github.com/kynan/nbstripout: 0.8.1 → 0.9.1](https://github.com/kynan/nbstripout/compare/0.8.1...0.9.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9882717..86001fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,15 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - - repo: https://github.com/psf/black - rev: 25.1.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black - repo: https://github.com/kynan/nbstripout - rev: 0.8.1 + rev: 0.9.1 hooks: - id: nbstripout From 9b5b72d8b147a604e956e13441917b8b9eeea7b4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 19:02:58 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tools/__init__.py | 1 + tools/sc/_sc.py | 1 + tools/tools/__init__.py | 1 + tools/tools/_tools.py | 1 + 4 files changed, 4 insertions(+) diff --git a/tools/__init__.py b/tools/__init__.py index 54a693e..578db2a 100644 --- a/tools/__init__.py +++ b/tools/__init__.py @@ -4,6 +4,7 @@ # @Last Modified by: Kelvin # @Last Modified time: 2022-07-18 11:55:02 """tools package""" + import matplotlib FONTTYPE = 42 diff --git a/tools/sc/_sc.py b/tools/sc/_sc.py index dff20bc..46e2997 100644 --- a/tools/sc/_sc.py +++ b/tools/sc/_sc.py @@ -4,6 +4,7 @@ # @Last Modified by: Kelvin # @Last Modified time: 2022-11-17 16:09:57 """Miscellaneous single-cell functions.""" + import functools import math import scipy.sparse diff --git a/tools/tools/__init__.py b/tools/tools/__init__.py index cb264e4..e494cdf 100644 --- a/tools/tools/__init__.py +++ b/tools/tools/__init__.py @@ -4,6 +4,7 @@ # @Last Modified by: Kelvin # @Last Modified time: 2022-08-16 14:19:43 """tools module.""" + from ._tools import ( alpha_code, cmp, diff --git a/tools/tools/_tools.py b/tools/tools/_tools.py index 3ed9cde..621147f 100644 --- a/tools/tools/_tools.py +++ b/tools/tools/_tools.py @@ -4,6 +4,7 @@ # @Last Modified by: Kelvin # @Last Modified time: 2022-08-16 14:19:25 """Miscellaneous functions.""" + import numpy as np import matplotlib.pyplot as plt