Refer to sources with "See:" in comments

This commit is contained in:
Alexander Hess 2026-12-03 11:09:38 +01:00
commit c18fc2ba59
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
2 changed files with 17 additions and 17 deletions

View file

@ -225,7 +225,7 @@ class Path(meta.Base):
)
# Without "alternatives" and "waypoints",
# the `response` has exactly one "route" with exactly one "leg"
# Source: https://developers.google.com/maps/documentation/directions/get-directions#Legs # noqa:E501
# See: https://developers.google.com/maps/documentation/directions/get-directions#Legs # noqa:E501
route = response[0]["legs"][0]
self.bicycle_distance = route["distance"]["value"]

View file

@ -12,7 +12,7 @@ from rpy2.robjects import packages as r_packages
# R's console messages would clutter the output => Suppress them
# Source: https://stackoverflow.com/a/63220287
# See: https://stackoverflow.com/a/63220287
r_callbacks.consolewrite_print = lambda *_args, **_kwargs: None # pragma: no cover
r_callbacks.consolewrite_warnerror = lambda *_args, **_kwargs: None # pragma: no cover