From 69b12e2a21892536728841be3d8fd27c091f14ed Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:25:28 +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.8.6 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.4) - [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e06a532635..f1829174a4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,12 +15,12 @@ repos: files: requirements-dev.txt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.9.4 hooks: - id: ruff - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black language_version: python3 @@ -31,7 +31,7 @@ repos: - id: blackdoc - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell args: From 0f781ec391eb79ebdacce06ba2ba9b878f14bd44 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:26:44 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/_static/flask_example.py | 16 ++++++++-------- tests/test_features.py | 2 +- tests/test_repr.py | 2 +- tests/test_vector_layers.py | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/_static/flask_example.py b/docs/_static/flask_example.py index 47d4273cf6..548ddf5ffe 100644 --- a/docs/_static/flask_example.py +++ b/docs/_static/flask_example.py @@ -1,16 +1,16 @@ -""" flask_example.py +"""flask_example.py - Required packages: - - flask - - folium +Required packages: +- flask +- folium - Usage: +Usage: - Start the flask server by running: +Start the flask server by running: - $ python flask_example.py + $ python flask_example.py - And then head to http://127.0.0.1:5000/ in your browser to see the map displayed +And then head to http://127.0.0.1:5000/ in your browser to see the map displayed """ diff --git a/tests/test_features.py b/tests/test_features.py index 1f1e64f1ae..af43144c76 100644 --- a/tests/test_features.py +++ b/tests/test_features.py @@ -1,4 +1,4 @@ -"""" +""" " Folium Features Tests --------------------- diff --git a/tests/test_repr.py b/tests/test_repr.py index d597747406..2ce215c332 100644 --- a/tests/test_repr.py +++ b/tests/test_repr.py @@ -1,4 +1,4 @@ -"""" +""" " Folium _repr_*_ Tests --------------------- diff --git a/tests/test_vector_layers.py b/tests/test_vector_layers.py index d887f25547..0cb8ba2183 100644 --- a/tests/test_vector_layers.py +++ b/tests/test_vector_layers.py @@ -1,4 +1,4 @@ -"""" +""" " Test Vector Layers ------------------