Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#44)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.9.1](astral-sh/ruff-pre-commit@v0.8.3...v0.9.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 13, 2025
1 parent 8e49bff commit cf9a892
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 osm_rawdata/pgasync.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def connect(

slash = uri.path.find("/")
self.dburi["dbname"] = uri.path[slash + 1 :]
connect = f"postgres://{self.dburi['dbuser']}:{ self.dburi['dbpass']}@{self.dburi['dbhost']}/{self.dburi['dbname']}"
connect = f"postgres://{self.dburi['dbuser']}:{self.dburi['dbpass']}@{self.dburi['dbhost']}/{self.dburi['dbname']}"

if self.dburi["dbname"] == "underpass":
# Authentication data
Expand Down

0 comments on commit cf9a892

Please sign in to comment.