Skip to content

Commit 3179d43

Browse files
[pre-commit.ci] pre-commit autoupdate (#20)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 886edb5 commit 3179d43

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: pyproject-fmt
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: "v0.5.0"
22+
rev: "v0.5.4"
2323
hooks:
2424
- id: ruff-format
2525
- id: ruff

src/py_discovery/_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def discover_exe(self, prefix: str, exact: bool = True, env: MutableMapping[str,
496496
msg = "failed to detect {} in {}".format("|".join(possible_names), os.pathsep.join(possible_folders))
497497
raise RuntimeError(msg)
498498

499-
def _check_exe( # noqa: PLR0913
499+
def _check_exe(
500500
self,
501501
folder: str,
502502
name: str,

tests/windows/test_windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from typing_extensions import Self
2323

2424

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

0 commit comments

Comments
 (0)