From 514fb7d1687f6ecb1170faabe00827363c0e13e4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 22:03:41 +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: 2c9f875913ee60ca25ce70243dc24d5b6415598c → 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c](https://github.com/pre-commit/pre-commit-hooks/compare/2c9f875913ee60ca25ce70243dc24d5b6415598c...3e8a8703264a2f4a69428a0aa4dcb512790b2c8c) - [github.com/pre-commit/mirrors-prettier: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 → f12edd9c7be1c20cfa42420fd0e6df71e42b51ea](https://github.com/pre-commit/mirrors-prettier/compare/ffb6a759a979008c0e6dff86e39f4745a2d9eac4...f12edd9c7be1c20cfa42420fd0e6df71e42b51ea) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 3702ba224ecffbcec30af640c149f231d90aebdb → fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d](https://github.com/psf/black-pre-commit-mirror/compare/3702ba224ecffbcec30af640c149f231d90aebdb...fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d) - [github.com/asottile/blacken-docs: 960ead214cd1184149d366c6d27ca6c369ce46b6 → dda8db18cfc68df532abf33b185ecd12d5b7b326](https://github.com/asottile/blacken-docs/compare/960ead214cd1184149d366c6d27ca6c369ce46b6...dda8db18cfc68df532abf33b185ecd12d5b7b326) - [github.com/asottile/pyupgrade: 32151ac97cbfd7f9dcd22e49516fb32266db45b4 → 75992aaa40730136014f34227e0135f63fc951b4](https://github.com/asottile/pyupgrade/compare/32151ac97cbfd7f9dcd22e49516fb32266db45b4...75992aaa40730136014f34227e0135f63fc951b4) - [github.com/codespell-project/codespell: 193cd7d27cd571f79358af09a8fb8997e54f8fff → 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a](https://github.com/codespell-project/codespell/compare/193cd7d27cd571f79358af09a8fb8997e54f8fff...2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a) --- .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 0185d72c..5791a403 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0 + rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -19,30 +19,30 @@ repos: - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-prettier - rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0 + rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 hooks: - id: prettier files: \.(css|md|yml|yaml) args: [--prose-wrap=preserve] - - repo: https://github.com/psf/black - rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d # frozen: 26.3.1 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 960ead214cd1184149d366c6d27ca6c369ce46b6 # frozen: 1.16.0 + rev: dda8db18cfc68df532abf33b185ecd12d5b7b326 # frozen: 1.20.0 hooks: - id: blacken-docs - repo: https://github.com/asottile/pyupgrade - rev: 32151ac97cbfd7f9dcd22e49516fb32266db45b4 # frozen: v3.16.0 + rev: 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2 hooks: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/codespell-project/codespell - rev: "193cd7d27cd571f79358af09a8fb8997e54f8fff" # frozen: v2.3.0 + rev: "2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a" # frozen: v2.4.2 hooks: - id: codespell args: ["-w", "-L", "ist,cant,connexion,multline,checkin"] From ec5b313b8ad7cfba4d5a026976e78479edd5029a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 22:05:36 +0000 Subject: [PATCH 2/2] =?UTF-8?q?[pre-commit.ci=20=F0=9F=A4=96]=20Apply=20co?= =?UTF-8?q?de=20format=20tools=20to=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 12 ++++++------ .../posts/matplotlib/animated-polar-plot/index.md | 12 ++++++------ .../aTSP/finding-all-minimum-arborescences/index.md | 2 +- .../aTSP/implementing-the-iterators/index.md | 2 +- content/posts/numpy/numpy-rng/index.md | 2 ++ .../community-considerations-around-ai/index.md | 2 ++ 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5791a403..4672e094 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 + rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -19,30 +19,30 @@ repos: - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-prettier - rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 + rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 hooks: - id: prettier files: \.(css|md|yml|yaml) args: [--prose-wrap=preserve] - repo: https://github.com/psf/black-pre-commit-mirror - rev: fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d # frozen: 26.3.1 + rev: fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d # frozen: 26.3.1 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: dda8db18cfc68df532abf33b185ecd12d5b7b326 # frozen: 1.20.0 + rev: dda8db18cfc68df532abf33b185ecd12d5b7b326 # frozen: 1.20.0 hooks: - id: blacken-docs - repo: https://github.com/asottile/pyupgrade - rev: 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2 + rev: 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2 hooks: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/codespell-project/codespell - rev: "2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a" # frozen: v2.4.2 + rev: "2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a" # frozen: v2.4.2 hooks: - id: codespell args: ["-w", "-L", "ist,cant,connexion,multline,checkin"] diff --git a/content/posts/matplotlib/animated-polar-plot/index.md b/content/posts/matplotlib/animated-polar-plot/index.md index 75fb2763..bfccdfee 100644 --- a/content/posts/matplotlib/animated-polar-plot/index.md +++ b/content/posts/matplotlib/animated-polar-plot/index.md @@ -67,12 +67,12 @@ ndf.head() This produces: ```pycon - date tsurf t1000 -0 2009-12-31 0.0 0.0 -1 2010-01-07 0.0 0.0 -2 2010-01-14 0.0 0.0 -3 2010-01-21 0.0 0.0 -4 2010-01-28 0.0 0.0 +date tsurf t1000 +2-31 0.0 0.0 +1-07 0.0 0.0 +1-14 0.0 0.0 +1-21 0.0 0.0 +1-28 0.0 0.0 ``` Then it's time to plot, for that we first need to import what we need, and set some useful variables. diff --git a/content/posts/networkx/aTSP/finding-all-minimum-arborescences/index.md b/content/posts/networkx/aTSP/finding-all-minimum-arborescences/index.md index 2641adb7..6cf0a5f8 100644 --- a/content/posts/networkx/aTSP/finding-all-minimum-arborescences/index.md +++ b/content/posts/networkx/aTSP/finding-all-minimum-arborescences/index.md @@ -110,7 +110,7 @@ Now that we are familiar with the minimum arborescence algorithm, we can discuss The changes will be primarily located in step 1. Under the normal operation of the algorithm, the consideration which happens at each vertex might look like this. -

