Skip to content

Commit 84605a0

Browse files
committed
chore: bump ruff
1 parent 37f21ea commit 84605a0

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/setup-python@v5
2222
with:
2323
python-version: "3.11"
24-
- uses: pre-commit/action@v3.0.0
24+
- uses: pre-commit/action@v3.0.1
2525
with:
2626
extra_args: --all-files
2727

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ repos:
1313
hooks:
1414
- id: mypy
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.6.5
16+
rev: v0.11.12
1717
hooks:
18-
- id: ruff
18+
- id: ruff-check
1919
args: [--fix]
2020
- id: ruff-format

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies = [
3737
]
3838

3939
[project.optional-dependencies]
40-
lint = ["mypy ~= 1.11.2", "ruff ~= 0.6.5"]
40+
lint = ["mypy ~= 1.11.2", "ruff ~= 0.11.12"]
4141
compat = [
4242
"pytest-benchmark ~= 5.0.0",
4343
"pytest-xdist ~= 3.6.1",

tests/test_pytest_plugin_cpu_instrumentation.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ def fixtured_child():
7979
"py::ValgrindInstrument.measure.<locals>.__codspeed_root_frame__" in line
8080
for line in lines
8181
), "No root frame found in perf map"
82-
assert any(
83-
"py::test_some_addition_marked" in line for line in lines
84-
), "No marked test frame found in perf map"
85-
assert any(
86-
"py::test_some_addition_fixtured" in line for line in lines
87-
), "No fixtured test frame found in perf map"
82+
assert any("py::test_some_addition_marked" in line for line in lines), (
83+
"No marked test frame found in perf map"
84+
)
85+
assert any("py::test_some_addition_fixtured" in line for line in lines), (
86+
"No fixtured test frame found in perf map"
87+
)
8888
assert any(
8989
"py::test_some_addition_fixtured.<locals>.fixtured_child" in line
9090
for line in lines

uv.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)