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: 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 ------------------