Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#23)
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.4.10 → v0.5.1](astral-sh/ruff-pre-commit@v0.4.10...v0.5.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 Jul 10, 2024
1 parent f8771e1 commit ba7a659
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.4.10"
rev: "v0.5.1"
hooks:
# Run the linter
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion osm_rawdata/overture.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def parse(
if key == "sources" and type(value) == list:
if "dataset" in value[0]:
entry["source"] = value[0]["dataset"]
if "recordId" in valve[0] and ["recordId"] is not None:
if "recordId" in valve[0] and ["recordId"] != None:
entry["record"] = value[0]["recordId"]
if value[0]["confidence"] is not None:
entry["confidence"] = value[0]["confidence"]
Expand Down

0 comments on commit ba7a659

Please sign in to comment.