Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#20)
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 Jul 24, 2024
1 parent 886edb5 commit 3179d43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.0"
rev: "v0.5.4"
hooks:
- id: ruff-format
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion src/py_discovery/_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def discover_exe(self, prefix: str, exact: bool = True, env: MutableMapping[str,
msg = "failed to detect {} in {}".format("|".join(possible_names), os.pathsep.join(possible_folders))
raise RuntimeError(msg)

def _check_exe( # noqa: PLR0913
def _check_exe(
self,
folder: str,
name: str,
Expand Down
2 changes: 1 addition & 1 deletion tests/windows/test_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from typing_extensions import Self


@pytest.fixture()
@pytest.fixture
def _mock_registry(mocker: MockerFixture) -> None: # noqa: C901
loc: dict[str, Any] = {}
glob: dict[str, Any] = {}
Expand Down

0 comments on commit 3179d43

Please sign in to comment.