From fc88f747e0c683169f877b25c699188fc0583868 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 08:39:51 +0000 Subject: [PATCH 1/2] Bump the pre-commit group with 2 updates Bumps the pre-commit group with 2 updates: [https://github.com/tox-dev/pyproject-fmt](https://github.com/tox-dev/pyproject-fmt) and [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit). Updates `https://github.com/tox-dev/pyproject-fmt` from v2.21.2 to 2.23.0 - [Release notes](https://github.com/tox-dev/pyproject-fmt/releases) - [Commits](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.2...v2.23.0) Updates `https://github.com/astral-sh/ruff-pre-commit` from v0.15.14 to 0.15.15 - [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases) - [Commits](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.14...v0.15.15) --- updated-dependencies: - dependency-name: https://github.com/tox-dev/pyproject-fmt dependency-version: 2.23.0 dependency-type: direct:production dependency-group: pre-commit - dependency-name: https://github.com/astral-sh/ruff-pre-commit dependency-version: 0.15.15 dependency-type: direct:production dependency-group: pre-commit ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 685c04d..f726553 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: check-yaml - id: detect-private-key - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.21.2" + rev: "v2.23.0" hooks: - id: pyproject-fmt - repo: https://github.com/citation-file-format/cffconvert @@ -39,7 +39,7 @@ repos: - id: yamllint exclude: pre-commit-config.yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.14" + rev: "v0.15.15" hooks: - id: ruff-format - id: ruff-check From 4d78c9a028a908fd35b7ffd44940bee60be2ba74 Mon Sep 17 00:00:00 2001 From: d33bs Date: Tue, 2 Jun 2026 15:58:47 -0600 Subject: [PATCH 2/2] linting --- pyproject.toml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index aebe9c8..ecfc7b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,14 +73,14 @@ notebooks = [ ] [tool.setuptools] -package-dir = { "" = "src" } packages.find.where = [ "src" ] +package-dir = { "" = "src" } [tool.setuptools_scm] -root = "." +version_file = "src/ome_arrow/_version.py" version_scheme = "no-guess-dev" local_scheme = "no-local-version" -version_file = "src/ome_arrow/_version.py" +root = "." [tool.ruff] target-version = "py311" @@ -129,16 +129,16 @@ lint.per-file-ignores."docs/src/examples/learning_to_fly_with_ome-arrow.py" = [ # ignore typing rules for tests lint.per-file-ignores."tests/*" = [ "ANN201", "E501", "PLR0913", "PLR2004" ] +[tool.vulture] +paths = [ "src/ome_arrow", "tests" ] +min_confidence = 90 + [tool.pytest] ini_options.pythonpath = [ "." ] [tool.jupytext] formats = "ipynb,py:light" -[tool.vulture] -min_confidence = 90 -paths = [ "src/ome_arrow", "tests" ] - [tool.uv-dynamic-versioning] vcs = "git" style = "semver" @@ -151,8 +151,7 @@ pytest tasks.jupyter.shell = """ jupyter lab """ -tasks.poster-preview.shell = """ -if command -v quarto >/dev/null 2>&1; then +tasks.poster-preview.shell = '''if command -v quarto >/dev/null 2>&1; then quarto preview docs/presentations/2026-OME-community-meeting/poster.qmd --no-browser elif [ -x /Applications/quarto/bin/quarto ]; then /Applications/quarto/bin/quarto preview docs/presentations/2026-OME-community-meeting/poster.qmd --no-browser @@ -160,4 +159,4 @@ else echo "quarto not found. Install Quarto or add it to PATH." exit 1 fi -""" +'''