X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/17cb59efbd5ebec4ee44cf56999e443a7993b050..5e477e3b5b99da6fc4e54749d4671a6fc8fdcd66:/nominatim/clicmd/__init__.py diff --git a/nominatim/clicmd/__init__.py b/nominatim/clicmd/__init__.py index ca64f363..bdd9bafe 100644 --- a/nominatim/clicmd/__init__.py +++ b/nominatim/clicmd/__init__.py @@ -1,13 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# This file is part of Nominatim. (https://nominatim.org) +# +# Copyright (C) 2022 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 .setup import SetupAll -from .replication import UpdateReplication -from .api import APISearch, APIReverse, APILookup, APIDetails, APIStatus -from .index import UpdateIndex -from .refresh import UpdateRefresh -from .admin import AdminFuncs -from .freeze import SetupFreeze -from .transition import AdminTransition -from .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