From 08fe392331d0a75fef03784e2d4dcee1dea8a27f Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Thu, 12 Mar 2026 20:01:10 -0600 Subject: [PATCH] dependabot: don't bump minimum Pillow version in pre-commit config We don't support older versions, but we don't necessarily want to require the latest. Signed-off-by: Benjamin Gilbert --- .github/dependabot.yml | 4 ++++ .pre-commit-config.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0f5c28f8..985d889c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -18,6 +18,10 @@ updates: groups: deps: patterns: ["*"] + ignore: + # The pre-commit config declares the minimum version, and we shouldn't + # bump that + - dependency-name: pillow labels: ["dependencies"] schedule: interval: monthly diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc1b8a83..4ba58799 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,6 +58,7 @@ repos: hooks: - id: mypy name: Check Python types + # Pillow is ignored in dependabot.yml additional_dependencies: [flask, openslide-bin, pillow >= 12.1.0, types-PyYAML, types-setuptools] - repo: https://github.com/rstcheck/rstcheck