Skip to content

Commit bf1bbc1

Browse files
committed
remove unused imports
1 parent 6dce946 commit bf1bbc1

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

geocode/ons_nrs.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,16 @@
77
"""
88

99
import os
10-
import sys
11-
import zipfile
12-
import json
13-
import csv
1410
import tempfile
1511
import logging
1612
from pathlib import Path
17-
from typing import Literal, Optional, Iterable, Tuple, Union, List, Dict
13+
from typing import Literal, Iterable, Tuple, Union, List, Dict
1814

1915
import pandas as pd
2016
import geopandas as gpd
21-
import shapefile
2217

2318
try:
24-
from shapely.geometry import shape, Point
25-
from shapely.ops import unary_union
19+
from shapely.geometry import shape
2620
except ImportError:
2721
logging.warning(
2822
"Failed to import Shapely library - you will not be able to reverse-geocode! "

0 commit comments

Comments
 (0)