disable warning about non-toplevel import

They are needed here so nominatim can be run when osmium
is not installed. Everything except replication will work fine.
This commit is contained in:
Sarah Hoffmann 2021-01-30 16:27:02 +01:00
parent e629a175ed
commit 7158433cd3

View File

@ -123,6 +123,8 @@ def _osm2pgsql_options_from_args(args, default_cache, default_threads):
#
# No need to document the functions each time.
# pylint: disable=C0111
# Using non-top-level imports to make pyosmium optional for replication only.
# pylint: disable=C0415
class SetupAll: