diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c199f45..e45444b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: # Lint / autoformat: Python code - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.4.7" + rev: "v0.4.10" hooks: # Run the linter - id: ruff diff --git a/fmtm_splitter/splitter.py b/fmtm_splitter/splitter.py index 7a33c73..90372a5 100755 --- a/fmtm_splitter/splitter.py +++ b/fmtm_splitter/splitter.py @@ -29,6 +29,7 @@ import geojson import numpy as np from geojson import Feature, FeatureCollection, GeoJSON +from osm_rawdata.postgres import PostgresClient from psycopg2.extensions import connection from shapely.geometry import Polygon, shape from shapely.ops import unary_union @@ -41,7 +42,6 @@ drop_tables, insert_geom, ) -from osm_rawdata.postgres import PostgresClient # Instantiate logger log = logging.getLogger(__name__)