diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8490403..339ceae 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/osm_rawdata/pgasync.py b/osm_rawdata/pgasync.py index 61db87a..42cde5d 100755 --- a/osm_rawdata/pgasync.py +++ b/osm_rawdata/pgasync.py @@ -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