Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#74)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 4, 2025
1 parent 69f68ac commit c96a739
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.8.6"
rev: "v0.9.4"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
2 changes: 1 addition & 1 deletion leap_data_management_utils/bq_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def _iid_list_exists_batch(self, iids: list[str]) -> list[str]:
query = f"""
SELECT instance_id, store
FROM {self.table_id}
WHERE instance_id IN ({",".join([f"'{iid}'" for iid in iids])})
WHERE instance_id IN ({','.join([f"'{iid}'" for iid in iids])})
"""
results = self._get_query_job(query).result()
# this is a full row iterator, for now just return the iids
Expand Down
4 changes: 2 additions & 2 deletions leap_data_management_utils/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ def format_report(title: str, feedstocks: list[dict], include_traceback: bool =
report += ' πŸš€ None found\n'
else:
for entry in feedstocks:
report += f" πŸ“‚ {entry['feedstock']}\n"
report += f' πŸ“‚ {entry["feedstock"]}\n'
if include_traceback:
report += f" πŸ”Ž {entry['traceback']}\n"
report += f' πŸ”Ž {entry["traceback"]}\n'
return report


Expand Down

0 comments on commit c96a739

Please sign in to comment.