diff --git a/docs/source/conf.py b/docs/source/conf.py index 932bd02ff..14a5233e5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -38,6 +38,10 @@ "sklearn", ] +# linkcheck for stackoverflow gets HTTP 403 in CI environment +linkcheck_ignore = [r"https://stackoverflow\.com/.*"] + +# type annotations configuration autodoc_typehints = "description" napoleon_use_param = True napoleon_use_rtype = False diff --git a/tests/test_osmnx.py b/tests/test_osmnx.py index b05467488..d3163f71a 100644 --- a/tests/test_osmnx.py +++ b/tests/test_osmnx.py @@ -598,7 +598,7 @@ def test_features() -> None: # features_from_bbox - bounding box query to return no data with pytest.raises(ox._errors.InsufficientResponseError): - gdf = ox.features_from_bbox(bbox=(0.009, -0.009, 0.009, -0.009), tags={"building": True}) + gdf = ox.features_from_bbox(bbox=(-2.000, -2.001, -2.000, -2.001), tags={"building": True}) # features_from_bbox - successful gdf = ox.features_from_bbox(bbox, tags=tags1)