diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9ff7493..85df6ad 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.8.3" + rev: "v0.9.1" hooks: # Run the linter - id: ruff 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] )