From faee54b1f22458af102d8ece0e5c372c63ce74d2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 22:26:32 +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/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.20](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.12...v0.15.20) - [github.com/numpy/numpydoc: v1.10.0 → v1.11.0rc0](https://github.com/numpy/numpydoc/compare/v1.10.0...v1.11.0rc0) - [github.com/stefmolin/docstringify: 1.1.1 → 2.0.0](https://github.com/stefmolin/docstringify/compare/1.1.1...2.0.0) - [github.com/tox-dev/pyproject-fmt: v2.21.1 → v2.25.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.1...v2.25.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 f9752945..439aebd2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,26 +29,26 @@ repos: exclude: (\.(svg|png|pdf)$)|(CODE_OF_CONDUCT.md) - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.12 + rev: v0.15.20 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] - id: ruff-format - repo: https://github.com/numpy/numpydoc - rev: v1.10.0 + rev: v1.11.0rc0 hooks: - id: numpydoc-validation exclude: (tests|docs)/.* - repo: https://github.com/stefmolin/docstringify - rev: 1.1.1 + rev: 2.0.0 hooks: - id: docstringify files: tests/.* - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.21.1 + rev: v2.25.1 hooks: - id: pyproject-fmt args: [--keep-full-version, --no-print-diff] From ed6d96a90f94ad9654a5ad9aa134de4a5f422111 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 22:26:48 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e111d97a..59889181 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,16 +71,16 @@ docs = [ ] [tool.setuptools] -dynamic.version = { attr = "data_morph.__version__" } +packages.find.where = [ + "src", +] package-data."data_morph.data.starter_shapes" = [ "*", ] package-data."data_morph.plotting.config" = [ "*", ] -packages.find.where = [ - "src", -] +dynamic.version = { attr = "data_morph.__version__" } [tool.ruff] line-length = 88 @@ -132,6 +132,9 @@ ignore-words-list = "recuse" ignore-regex = "https://([\\w/\\.])+" [tool.pytest] +ini_options.testpaths = [ + "tests", +] ini_options.addopts = [ "-ra", "-l", @@ -146,10 +149,6 @@ ini_options.addopts = [ "--no-cov-on-fail", "--cov-report=term-missing", ] -ini_options.xfail_strict = true -ini_options.testpaths = [ - "tests", -] ini_options.markers = [ "bounds: Run tests on bounds logic.", "circles: Run tests on circular shapes.", @@ -163,6 +162,7 @@ ini_options.markers = [ "polygons: Run tests on polygon shapes.", "shapes: Run tests related to shapes.", ] +ini_options.xfail_strict = true [tool.numpydoc_validation] checks = [