]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/tokenizer/sanitizers/clean_housenumbers.py
fix style issue found by flake8
[nominatim.git] / src / nominatim_db / tokenizer / sanitizers / clean_housenumbers.py
index 20443616a70540ab520e372f400857ceb840f485..a74ca2499403620d07d9a0786555a5ab0659c14e 100644 (file)
@@ -30,6 +30,7 @@ from ...data.place_name import PlaceName
 from .base import ProcessInfo
 from .config import SanitizerConfig
 
+
 class _HousenumberSanitizer:
 
     def __init__(self, config: SanitizerConfig) -> None:
@@ -38,7 +39,6 @@ class _HousenumberSanitizer:
 
         self.filter_name = config.get_filter('convert-to-name', 'FAIL_ALL')
 
-
     def __call__(self, obj: ProcessInfo) -> None:
         if not obj.address:
             return
@@ -57,7 +57,6 @@ class _HousenumberSanitizer:
 
         obj.address = new_address
 
-
     def sanitize(self, value: str) -> Iterator[str]:
         """ Extract housenumbers in a regularized format from an OSM value.
 
@@ -68,7 +67,6 @@ class _HousenumberSanitizer:
             if hnr:
                 yield from self._regularize(hnr)
 
-
     def _regularize(self, hnr: str) -> Iterator[str]:
         yield hnr