osm2gtfs
osm2gtfs copied to clipboard
Constant for OpenStreetMap URL
Currently we are using hardcoded urls in every status/warning/error message to OpenStreetMap https://osm.org/
. @ialokim suggests in https://github.com/grote/osm2gtfs/pull/99#discussion_r157001537:
we should use an static variable to not hardcode the same url over and over again
Using a static variable or a global constant and how to handle those concepts in Python is not completely clear to me. A quick research got me to the point, that we probably will need some kind of const class, which could bring a lot of good opportunities.
@grote do you think a "const class" is the right way to go?