Skip to content

Commit 845051b

Browse files
authored
Merge pull request #54 from MarcoGorelli/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 7410cc5 + 5535552 commit 845051b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
33
# Ruff version.
4-
rev: 'v0.5.7'
4+
rev: 'v0.6.1'
55
hooks:
66
# Run the formatter.
77
- id: ruff-format

tests/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_noop(src: str) -> None:
146146
SRC_CHANGED = "def foo():\n" " if (a := 0):\n" " print(a)\n"
147147

148148

149-
@pytest.fixture()
149+
@pytest.fixture
150150
def project_dir(request: Any, tmp_path: pathlib.Path) -> ProjectDirT:
151151
# tmp_path will be the root of the project, e.g.:
152152
# tmp_path

0 commit comments

Comments
 (0)