From e633327e1f02d47b04c81fc64ddf472221b2edb1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 18:46:47 +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: v4.6.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.4.2 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/24.4.2...25.12.0) - [github.com/asottile/blacken-docs: 1.16.0 → 1.20.0](https://github.com/asottile/blacken-docs/compare/1.16.0...1.20.0) - [github.com/asottile/setup-cfg-fmt: v2.5.0 → v3.2.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.5.0...v3.2.0) - [github.com/PyCQA/isort: 5.13.2 → 7.0.0](https://github.com/PyCQA/isort/compare/5.13.2...7.0.0) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6465fbc..b3396a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -28,16 +28,16 @@ repos: rev: v1.5.5 hooks: - id: remove-crlf - - repo: https://github.com/psf/black - rev: 24.4.2 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.12.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.16.0 + rev: 1.20.0 hooks: - id: blacken-docs - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.5.0 + rev: v3.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/seed-isort-config @@ -45,6 +45,6 @@ repos: hooks: - id: seed-isort-config - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 7.0.0 hooks: - id: isort From 95ee485c6a5ce306196132cba4ca0e98c53f84a7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 18:46:56 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- idesolver/idesolver.py | 2 +- setup.cfg | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/idesolver/idesolver.py b/idesolver/idesolver.py index da749c6..1369f5d 100644 --- a/idesolver/idesolver.py +++ b/idesolver/idesolver.py @@ -58,7 +58,7 @@ def global_error(y1: np.ndarray, y2: np.ndarray) -> float: def coerce_to_array( - to_coerce: Union[float, np.float64, complex, np.complex128, np.ndarray, list] + to_coerce: Union[float, np.float64, complex, np.complex128, np.ndarray, list], ) -> np.ndarray: """Coerce `to_coerce` into a numpy array""" return np.array(to_coerce, ndmin=1, copy=False) diff --git a/setup.cfg b/setup.cfg index 3b83915..566ccb2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,7 +14,6 @@ license_files = LICENSE classifiers = Development Status :: 5 - Production/Stable Intended Audience :: Science/Research - License :: OSI Approved :: GNU General Public License v3 (GPLv3) Operating System :: OS Independent Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only @@ -27,7 +26,7 @@ install_requires = numpy>=1.18 scipy>=1.4 importlib-metadata>=1.0;python_version < "3.8" -python_requires = >=3.8 +python_requires = >=3.10 [options.extras_require] docs =