X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/efafa5271957fb54b356ec1c90e8613f14de40d4..d9639a98671786f74b2be7588f4af2405ea08a68:/nominatim/clicmd/__init__.py?ds=sidebyside diff --git a/nominatim/clicmd/__init__.py b/nominatim/clicmd/__init__.py index de541134..c8de68c1 100644 --- a/nominatim/clicmd/__init__.py +++ b/nominatim/clicmd/__init__.py @@ -2,18 +2,27 @@ # # This file is part of Nominatim. (https://nominatim.org) # -# Copyright (C) 2022 by the Nominatim developer community. +# Copyright (C) 2023 by the Nominatim developer community. # For a full list of authors see the git log. """ Subcommand definitions for the command-line tool. """ +# mypy and pylint disagree about the style of explicit exports, +# see https://github.com/PyCQA/pylint/issues/6006. +# pylint: disable=useless-import-alias -from nominatim.clicmd.setup import SetupAll -from nominatim.clicmd.replication import UpdateReplication -from nominatim.clicmd.api import APISearch, APIReverse, APILookup, APIDetails, APIStatus -from nominatim.clicmd.index import UpdateIndex -from nominatim.clicmd.refresh import UpdateRefresh -from nominatim.clicmd.add_data import UpdateAddData -from nominatim.clicmd.admin import AdminFuncs -from nominatim.clicmd.freeze import SetupFreeze -from nominatim.clicmd.special_phrases import ImportSpecialPhrases +from nominatim.clicmd.setup import SetupAll as SetupAll +from nominatim.clicmd.replication import UpdateReplication as UpdateReplication +from nominatim.clicmd.api import (APISearch as APISearch, + APIReverse as APIReverse, + APILookup as APILookup, + APIDetails as APIDetails, + APIStatus as APIStatus) +from nominatim.clicmd.index import UpdateIndex as UpdateIndex +from nominatim.clicmd.refresh import UpdateRefresh as UpdateRefresh +from nominatim.clicmd.add_data import UpdateAddData as UpdateAddData +from nominatim.clicmd.admin import AdminFuncs as AdminFuncs +from nominatim.clicmd.freeze import SetupFreeze as SetupFreeze +from nominatim.clicmd.special_phrases import ImportSpecialPhrases as ImportSpecialPhrases +from nominatim.clicmd.export import QueryExport as QueryExport +from nominatim.clicmd.convert import ConvertDB as ConvertDB