Skip to content

Commit 6a0ff60

Browse files
[pre-commit.ci] pre-commit autoupdate (#288)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 8f59e91 commit 6a0ff60

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ repos:
1616
additional_dependencies: [ "tomli>=2.0.1" ]
1717
args: [ "--in-place", "--config", "./pyproject.toml" ]
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: "v0.5.0"
19+
rev: "v0.5.4"
2020
hooks:
2121
- id: ruff-format
2222
- id: ruff
2323
args: [ "--fix", "--unsafe-fixes", "--exit-non-zero-on-fix" ]
2424
- repo: https://github.com/tox-dev/pyproject-fmt
25-
rev: "2.1.3"
25+
rev: "2.1.4"
2626
hooks:
2727
- id: pyproject-fmt
2828
additional_dependencies: ["tox>=4.14.2"]

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ def func_path(request: SubRequest) -> str:
3737
return prop.replace("_dir", "_path")
3838

3939

40-
@pytest.fixture()
40+
@pytest.fixture
4141
def props() -> tuple[str, ...]:
4242
return PROPS

tests/test_unix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ def _func_to_path(func: str) -> XDGVariable | None:
103103
return mapping.get(func)
104104

105105

106-
@pytest.fixture()
106+
@pytest.fixture
107107
def dirs_instance() -> Unix:
108108
return Unix(multipath=True, opinion=False)
109109

110110

111-
@pytest.fixture()
111+
@pytest.fixture
112112
def _getuid(mocker: MockerFixture) -> None:
113113
mocker.patch("platformdirs.unix.getuid", return_value=1234)
114114

0 commit comments

Comments
 (0)