From a58d9ec204d95d5e6a84a8e95e41c49678b0c287 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 17:37:14 +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) - [github.com/tox-dev/tox-ini-fmt: 1.5.0 → 1.7.1](https://github.com/tox-dev/tox-ini-fmt/compare/1.5.0...1.7.1) - [github.com/tox-dev/pyproject-fmt: v2.5.1 → v2.14.2](https://github.com/tox-dev/pyproject-fmt/compare/v2.5.1...v2.14.2) - [github.com/lorenzwalthert/precommit: v0.4.3.9005 → v0.4.3.9020](https://github.com/lorenzwalthert/precommit/compare/v0.4.3.9005...v0.4.3.9020) - [github.com/astral-sh/ruff-pre-commit: v0.11.0 → v0.15.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.0...v0.15.0) - [github.com/sphinx-contrib/sphinx-lint: v1.0.0 → v1.0.2](https://github.com/sphinx-contrib/sphinx-lint/compare/v1.0.0...v1.0.2) --- .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 d1dc765..0ec27be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ fail_fast: true repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: check-yaml @@ -15,18 +15,18 @@ repos: exclude: '(\.Rd|python/doc/source/reference/.*|test-doctest-.*)' - repo: https://github.com/tox-dev/tox-ini-fmt - rev: "1.5.0" + rev: "1.7.1" hooks: - id: tox-ini-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.5.1" + rev: "v2.14.2" hooks: - id: pyproject-fmt additional_dependencies: ["tox>=4.12.1"] - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3.9005 + rev: v0.4.3.9020 hooks: - id: parsable-R - id: no-browser-statement @@ -41,7 +41,7 @@ repos: - Rdpack - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.11.0 + rev: v0.15.0 hooks: # Run the formatter. - id: ruff-format @@ -52,6 +52,6 @@ repos: types_or: [ python, pyi, jupyter ] require_serial: true - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: v1.0.0 + rev: v1.0.2 hooks: - id: sphinx-lint From 394385fca3318886b482b9e44b7c068c507350bc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 17:38:26 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- python/pyproject.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 47272e9..872f4b0 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -17,8 +17,8 @@ keywords = [ "Optimization", ] authors = [ - { name = "Manuel López-Ibáñez", email = "manuel.lopez-ibanez@manchester.ac.uk" }, { name = "Fergus Rooney", email = "fergus.rooney@outlook.com" }, + { name = "Manuel López-Ibáñez", email = "manuel.lopez-ibanez@manchester.ac.uk" }, ] requires-python = ">=3.10" classifiers = [ @@ -30,6 +30,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dependencies = [ "matplotlib>=3.6", @@ -68,10 +69,10 @@ lint.per-file-ignores."examples/*" = [ ] lint.per-file-ignores."src/mooplot/colour.py" = [ "D", -] # FIXME! +] lint.pycodestyle.max-doc-length = 80 lint.pycodestyle.max-line-length = 80 lint.pydocstyle.convention = "numpy" -[tool.pytest.ini_options] -doctest_optionflags = "NUMBER" +[tool.pytest] +ini_options.doctest_optionflags = "NUMBER"