From 017888db7882b3b8066a2666f9fc882de7edf7df Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:07:02 +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.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.21.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.3.0 → 25.9.0](https://github.com/psf/black-pre-commit-mirror/compare/24.3.0...25.9.0) - [github.com/keewis/blackdoc: v0.3.9 → v0.4.5](https://github.com/keewis/blackdoc/compare/v0.3.9...v0.4.5) - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.14.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.14.3) - [github.com/kynan/nbstripout: 0.7.1 → 0.8.1](https://github.com/kynan/nbstripout/compare/0.7.1...0.8.1) --- .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..ad6562a 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.0 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: 25.9.0 hooks: - id: black - id: black-jupyter - repo: https://github.com/keewis/blackdoc - rev: v0.3.9 + rev: v0.4.5 hooks: - id: blackdoc - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.5" + rev: "v0.14.3" hooks: - id: ruff args: ["--fix"] @@ -42,7 +42,7 @@ repos: - id: prettier - repo: https://github.com/kynan/nbstripout - rev: 0.7.1 + rev: 0.8.1 hooks: - id: nbstripout From a64a8de512cc26fdf622c7d6ee3cab8935e55042 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:07:20 +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 ```