mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-09-19 23:17:21 +03:00
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:
parent
e629a175ed
commit
7158433cd3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user