Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent 8828873 commit 893532d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions osm_rawdata/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import requests
from geojson import Feature, FeatureCollection, Polygon
from shapely import wkt
from shapely.geometry import Polygon, shape
from shapely.geometry import shape

# Find the other files for this project
import osm_rawdata as rw
Expand Down Expand Up @@ -156,9 +156,7 @@ def __init__(
log.error(f"Couldn't connect to database: {e}")

def __del__(self):
"""
Close any open connections to Postgres.
"""
"""Close any open connections to Postgres."""
self.dbshell.close()

def createJson(
Expand Down

0 comments on commit 893532d

Please sign in to comment.