forked from hans/Nominatim
Disabled pylint too-many-branches
This commit is contained in:
committed by
Sarah Hoffmann
parent
c06f902398
commit
7d28fc35d1
@@ -71,7 +71,7 @@ class SetupAll:
|
|||||||
help='Create the database but do not import any data')
|
help='Create the database but do not import any data')
|
||||||
|
|
||||||
|
|
||||||
def run(self, args: NominatimArgs) -> int: # pylint: disable=too-many-statements
|
def run(self, args: NominatimArgs) -> int: # pylint: disable=too-many-statements, too-many-branches
|
||||||
from ..data import country_info
|
from ..data import country_info
|
||||||
from ..tools import database_import, refresh, postcodes, freeze
|
from ..tools import database_import, refresh, postcodes, freeze
|
||||||
from ..indexer.indexer import Indexer
|
from ..indexer.indexer import Indexer
|
||||||
|
|||||||
Reference in New Issue
Block a user