diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99ab4a4..a3a4b55 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: v5.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.20.0 hooks: - id: pyupgrade args: - "--py38-plus" - repo: https://github.com/psf/black - rev: 24.3.0 + rev: 25.1.0 hooks: - id: black - id: black-jupyter - repo: https://github.com/keewis/blackdoc - rev: v0.3.9 + rev: v0.4.1 hooks: - id: blackdoc - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.5" + rev: "v0.12.2" 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 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 ```