Skip to content

Commit 87d76e0

Browse files
[pre-commit.ci] pre-commit autoupdate (#496)
<!--pre-commit.ci start--> updates: - [github.com/python-jsonschema/check-jsonschema: 0.37.2 → 0.37.3](python-jsonschema/check-jsonschema@0.37.2...0.37.3) - [github.com/tox-dev/pyproject-fmt: v2.23.0 → v2.24.1](tox-dev/pyproject-fmt@v2.23.0...v2.24.1) - [github.com/astral-sh/ruff-pre-commit: v0.15.16 → v0.15.17](astral-sh/ruff-pre-commit@v0.15.16...v0.15.17) - [github.com/LilSpazJoekp/docstrfmt: v2.1.0 → v2.1.1](LilSpazJoekp/docstrfmt@v2.1.0...v2.1.1) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
1 parent a883f41 commit 87d76e0

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
77
- repo: https://github.com/python-jsonschema/check-jsonschema
8-
rev: 0.37.2
8+
rev: 0.37.3
99
hooks:
1010
- id: check-github-workflows
1111
args: ["--verbose"]
@@ -19,11 +19,11 @@ repos:
1919
hooks:
2020
- id: tox-toml-fmt
2121
- repo: https://github.com/tox-dev/pyproject-fmt
22-
rev: "v2.23.0"
22+
rev: "v2.24.1"
2323
hooks:
2424
- id: pyproject-fmt
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: "v0.15.16"
26+
rev: "v0.15.17"
2727
hooks:
2828
- id: ruff-format
2929
- id: ruff-check
@@ -43,7 +43,7 @@ repos:
4343
- mdformat-gfm>=1
4444
- mdformat-ruff>=0.1.3
4545
- repo: https://github.com/LilSpazJoekp/docstrfmt
46-
rev: v2.1.0
46+
rev: v2.1.1
4747
hooks:
4848
- id: docstrfmt
4949
args: ["-l", "120"]

tests/test_macos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
)
3030

3131

32-
@pytest.fixture(autouse=True)
32+
@pytest.fixture(autouse=True) # noqa: RUF076
3333
def _fix_os_pathsep(mocker: MockerFixture) -> None:
3434
"""If we're not running on macOS, set `os.pathsep` to what it should be on macOS."""
3535
if sys.platform != "darwin": # pragma: darwin no cover

tests/test_unix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from pytest_mock import MockerFixture
1919

2020

21-
@pytest.fixture(autouse=True)
21+
@pytest.fixture(autouse=True) # noqa: RUF076
2222
def _reload_after_test() -> typing.Iterator[None]:
2323
yield
2424
importlib.reload(unix)

tests/test_windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
_COMMON = os.path.normpath(_WIN_FOLDERS["CSIDL_COMMON_APPDATA"])
4343

4444

45-
@pytest.fixture(autouse=True)
45+
@pytest.fixture(autouse=True) # noqa: RUF076
4646
def _mock_get_win_folder(mocker: MockerFixture) -> None:
4747
mocker.patch("platformdirs.windows.get_win_folder", side_effect=lambda csidl: _WIN_FOLDERS[csidl])
4848

0 commit comments

Comments
 (0)