]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/clicmd/args.py
release 4.5.0.post8
[nominatim.git] / src / nominatim_db / clicmd / args.py
index c74bca6245a40baf3b920a7311c2228d31fa043d..488ecd184adbe48f5f320659f7ec78cd93d27be2 100644 (file)
@@ -16,8 +16,10 @@ from ..errors import UsageError
 from ..config import Configuration
 from ..typing import Protocol
 
+
 LOG = logging.getLogger()
 
+
 class Subcommand(Protocol):
     """
     Interface to be implemented by classes implementing a CLI subcommand.
@@ -178,7 +180,6 @@ class NominatimArgs:
     polygon_geojson: bool
     group_hierarchy: bool
 
-
     def osm2pgsql_options(self, default_cache: int,
                           default_threads: int) -> Dict[str, Any]:
         """ Return the standard osm2pgsql options that can be derived
@@ -196,9 +197,8 @@ class NominatimArgs:
                                      slim_index=self.config.TABLESPACE_OSM_INDEX,
                                      main_data=self.config.TABLESPACE_PLACE_DATA,
                                      main_index=self.config.TABLESPACE_PLACE_INDEX
-                                    )
-                   )
-
+                                     )
+                    )
 
     def get_osm_file_list(self) -> Optional[List[Path]]:
         """ Return the --osm-file argument as a list of Paths or None