File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ repos:
1515 files : requirements-dev.txt
1616
1717- repo : https://github.com/astral-sh/ruff-pre-commit
18- rev : v0.3.0
18+ rev : v0.3.4
1919 hooks :
2020 - id : ruff
2121
2222- repo : https://github.com/psf/black
23- rev : 24.2 .0
23+ rev : 24.3 .0
2424 hooks :
2525 - id : black
2626 language_version : python3
Original file line number Diff line number Diff line change @@ -1153,11 +1153,9 @@ def warn_for_geometry_collections(self) -> None:
11531153 ]
11541154 if any (geom_collections ):
11551155 warnings .warn (
1156- "{} is not configured to render for GeoJson GeometryCollection geometries. "
1157- "Please consider reworking these features: {} to MultiPolygon for full functionality.\n "
1158- "https://tools.ietf.org/html/rfc7946#page-9" .format (
1159- self ._name , geom_collections
1160- ),
1156+ f"{ self ._name } is not configured to render for GeoJson GeometryCollection geometries. "
1157+ f"Please consider reworking these features: { geom_collections } to MultiPolygon for full functionality.\n "
1158+ "https://tools.ietf.org/html/rfc7946#page-9" ,
11611159 UserWarning ,
11621160 )
11631161
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ color = true
1919ignore_missing_imports = true
2020
2121[tool .ruff ]
22- select = [
22+ lint. select = [
2323 " F" , # flakes
2424 " I" , # import sorting
2525 " U" , # upgrade
2626]
2727target-version = " py37"
2828line-length = 120
2929
30- [tool . ruff .per-file-ignores ]
30+ [lint .per-file-ignores ]
3131"docs/conf.py" = [" E402" ]
You can’t perform that action at this time.
0 commit comments