diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c78f7cd..9267cee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/src/validate_pyproject/caching.py b/src/validate_pyproject/caching.py index f09e633..458bcd2 100644 --- a/src/validate_pyproject/caching.py +++ b/src/validate_pyproject/caching.py @@ -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]: