Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.2
rev: 0.37.3
hooks:
- id: check-github-workflows
args: ["--verbose"]
Expand All @@ -15,17 +15,17 @@ repos:
- id: codespell
additional_dependencies: ["tomli>=2.4"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.23.0"
rev: "v2.24.1"
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.16"
rev: "v0.15.17"
hooks:
- id: ruff-format
- id: ruff
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.8.3"
rev: "v3.8.4"
hooks:
- id: prettier
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def session_cache(tmp_path_factory: pytest.TempPathFactory) -> DiskCache:
return DiskCache(tmp_path_factory.mktemp("python-discovery-cache"))


@pytest.fixture(autouse=True)
@pytest.fixture(autouse=True) # noqa: RUF076
def _ensure_py_info_cache_empty(session_cache: DiskCache) -> Generator[None]:
PythonInfo.clear_cache(session_cache)
yield
Expand Down