Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#218)
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.7.2 → v0.7.3](astral-sh/ruff-pre-commit@v0.7.2...v0.7.3)

* [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 Nov 11, 2024
1 parent f45606b commit 05b9c9c
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 @@ -26,7 +26,7 @@ repos:
args: [-w, -L, "THIRDPARTY"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.2 # Ruff version
rev: v0.7.3 # Ruff version
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand Down
2 changes: 1 addition & 1 deletion src/validate_pyproject/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def as_file(
cache_path.write_text(f.getvalue(), encoding="utf-8")
_logger.debug(f"Caching {arg} into {cache_path}")

return open(cache_path, "rb") # noqa: SIM115 -- not relevant
return open(cache_path, "rb")


def path_for(arbitrary_id: str, cache: Optional[PathLike] = None) -> Optional[Path]:
Expand Down

0 comments on commit 05b9c9c

Please sign in to comment.