Skip to content
Merged
3 changes: 2 additions & 1 deletion AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Nils Nolde <nils@gis-ops.com>
Timothy Ellersiek <tim@gis-ops.com>
Christian Beiwinkel <christian@gis-ops.com>
Matthieu Viry <matthieu.viry@cnrs.fr>
Matthieu Viry <matthieu.viry@cnrs.fr>
Laurent Basara <laurent.basara@gmail.com>
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ It's really easy:
To run the new tests and ensure consistency, refer to the [Tests](#tests) section above. **Don't store secrets** in the tests.

4. **Document** Please use docstring documentation for all user-exposed functionality, similar to other router implementations.
Also, please register the new module in `docs/indes.rst`'s `Routers` section. To build the docs, refer to the
Also, please register the new module in `docs/index.rst`'s `Routers` section. To build the docs, refer to the
[documentation section](#documentation) for details. Don't forget to add your name to the list of `AUTHORS.md`.
1,362 changes: 1,281 additions & 81 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["dependencies", "requires-python"]
dependencies = [
"poetry>=2.2.1",
"responses>=0.25.8",
]

[project.urls]
homepage = "https://github.com/mthh/routingpy"
Expand Down
2 changes: 1 addition & 1 deletion routingpy/isochrone.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Isochrone(object):

def __init__(self, geometry=None, interval=None, center=None, interval_type=None):
self._geometry = geometry
self._interval = int(interval)
self._interval = None if interval is None else int(interval)
self._center = center
self._interval_type = interval_type

Expand Down
2 changes: 2 additions & 0 deletions routingpy/routers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from .google import Google
from .graphhopper import Graphhopper
from .heremaps import HereMaps
from .ign import IGN
from .mapbox_osrm import MapboxOSRM
from .openrouteservice import ORS
from .opentripplanner_v2 import OpenTripPlannerV2
Expand All @@ -31,6 +32,7 @@
"graphhopper": Graphhopper,
"here": HereMaps,
"heremaps": HereMaps,
"ign": IGN,
"mapbox_osrm": MapboxOSRM,
"mapbox-osrm": MapboxOSRM,
"mapbox": MapboxOSRM,
Expand Down
Loading
Loading