From 88067df88f6073105c9db842e2a0f72bb39d7d57 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 21:37:22 +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/astral-sh/ruff-pre-commit: v0.16.4 → v0.16.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.4...v0.16.5) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a881d64..30d8a63 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: )$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.4 + rev: v0.16.5 hooks: - id: ruff name: ruff check From 560cfb8363a03f1f0b15317cbe4cabd3850b0cd2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 21:37:43 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- opengraph/README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/opengraph/README.md b/opengraph/README.md index 7d45874..9262e40 100644 --- a/opengraph/README.md +++ b/opengraph/README.md @@ -53,11 +53,13 @@ To adapt this example for your own website: 2. **Customize metadata patterns** in the `get_opengraph_data()` method: ```python if path.startswith("/your-section/"): - og_data.update({ - "title": "Your Custom Title", - "description": "Your custom description", - "image": "https://your-image-url.com/image.jpg" - }) + og_data.update( + { + "title": "Your Custom Title", + "description": "Your custom description", + "image": "https://your-image-url.com/image.jpg", + } + ) ``` 3. **Add more URL patterns** to match your site structure