Skip to content

Commit 0b707fe

Browse files
[pre-commit.ci] pre-commit autoupdate (#572)
<!--pre-commit.ci start--> updates: - [github.com/tox-dev/pyproject-fmt: v2.25.0 → v2.25.1](tox-dev/pyproject-fmt@v2.25.0...v2.25.1) - [github.com/astral-sh/ruff-pre-commit: v0.15.18 → v0.15.20](astral-sh/ruff-pre-commit@v0.15.18...v0.15.20) - [github.com/rbubley/mirrors-prettier: v3.8.4 → v3.9.1](rbubley/mirrors-prettier@v3.8.4...v3.9.1) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 22ecd6a commit 0b707fe

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ repos:
1919
hooks:
2020
- id: tox-toml-fmt
2121
- repo: https://github.com/tox-dev/pyproject-fmt
22-
rev: "v2.25.0"
22+
rev: "v2.25.1"
2323
hooks:
2424
- id: pyproject-fmt
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: "v0.15.18"
26+
rev: "v0.15.20"
2727
hooks:
2828
- id: ruff-format
2929
- id: ruff-check
3030
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
3131
- repo: https://github.com/rbubley/mirrors-prettier
32-
rev: "v3.8.4" # Use the sha / tag you want to point at
32+
rev: "v3.9.1" # Use the sha / tag you want to point at
3333
hooks:
3434
- id: prettier
3535
args: ["--print-width=120", "--prose-wrap=always"]

tests/soft_rw/test_soft_rw_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from pathlib import Path
1616

1717

18-
@pytest.fixture(autouse=True) # noqa: RUF076
18+
@pytest.fixture(autouse=True)
1919
def _clear_singletons() -> Generator[None]:
2020
SoftReadWriteLock._instances.clear()
2121
yield

tests/soft_rw/test_soft_rw_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _cleanup(processes: list[Process]) -> Generator[None]:
9595
proc.join(timeout=2)
9696

9797

98-
@pytest.fixture(autouse=True) # noqa: RUF076
98+
@pytest.fixture(autouse=True)
9999
def _clear_singletons() -> Generator[None]:
100100
SoftReadWriteLock._instances.clear()
101101
yield

tests/test_async_read_write.py

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

2020

21-
@pytest.fixture(autouse=True) # noqa: RUF076
21+
@pytest.fixture(autouse=True)
2222
def _clear_singleton_cache() -> Generator[None]:
2323
ReadWriteLock._instances.clear()
2424
yield

tests/test_read_write_unit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from pytest_mock import MockerFixture
2929

3030

31-
@pytest.fixture(autouse=True) # noqa: RUF076
31+
@pytest.fixture(autouse=True)
3232
def _clear_singleton_cache() -> Generator[None]:
3333
ReadWriteLock._instances.clear()
3434
yield

0 commit comments

Comments
 (0)