From bbdd5192e71fce10464d5df9b596a5e8b66f8758 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 23:08:50 +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) - [github.com/asottile/pyupgrade: v3.15.2 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.21.2) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.3.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.3.0...26.1.0) - [github.com/keewis/blackdoc: v0.3.9 → v0.4.6](https://github.com/keewis/blackdoc/compare/v0.3.9...v0.4.6) - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.15.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.15.0) - [github.com/kynan/nbstripout: 0.7.1 → 0.9.0](https://github.com/kynan/nbstripout/compare/0.7.1...0.9.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99ab4a4..30782bf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: ^(secrets/) repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -13,25 +13,25 @@ repos: - id: mixed-line-ending - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 + rev: v3.21.2 hooks: - id: pyupgrade args: - "--py38-plus" - - repo: https://github.com/psf/black - rev: 24.3.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black - id: black-jupyter - repo: https://github.com/keewis/blackdoc - rev: v0.3.9 + rev: v0.4.6 hooks: - id: blackdoc - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.5" + rev: "v0.15.0" hooks: - id: ruff args: ["--fix"] @@ -42,7 +42,7 @@ repos: - id: prettier - repo: https://github.com/kynan/nbstripout - rev: 0.7.1 + rev: 0.9.0 hooks: - id: nbstripout From 08790ca78cef40caa54cd4e8a01fb78e6a15ab25 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 23:09:00 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d35c9e0..0958f21 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ pip install carbonplan[styles] ```python from carbonplan.styles.mpl import set_theme + # this is the same things as from carbonplan_styles.mpl import set_theme ```