Skip to content

Commit

Permalink
Merge pull request #80 from hotosm/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
spwoodcock authored Jan 13, 2025
2 parents 7a141d5 + 2b67f58 commit 17c9d3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/postgis_snippets/fmtm_splitter_buildings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
)
Expand Down

0 comments on commit 17c9d3d

Please sign in to comment.