From 2b67f583d0cc72ef46ed976148391329ceddbcb3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:47:15 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- contrib/postgis_snippets/fmtm_splitter_buildings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/postgis_snippets/fmtm_splitter_buildings.py b/contrib/postgis_snippets/fmtm_splitter_buildings.py index fa6399f..7d2ff90 100755 --- a/contrib/postgis_snippets/fmtm_splitter_buildings.py +++ b/contrib/postgis_snippets/fmtm_splitter_buildings.py @@ -36,7 +36,7 @@ def split_by_buildings( dbd: list, # database host, dbname, user, password ): """Split the polygon by buildings in the database using an SQL query.""" - dbstring = f"PG:host={dbd[0]} dbname={dbd[1]} " f"user={dbd[2]} password={dbd[3]}" + dbstring = f"PG:host={dbd[0]} dbname={dbd[1]} user={dbd[2]} password={dbd[3]}" dbshell = psycopg2.connect( host=dbd[0], database=dbd[1], user=dbd[2], password=dbd[3] )