Skip to content

Commit b250bab

Browse files
committed
pre-commit autoupdate
1 parent 101b4a4 commit b250bab

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v5.0.0
7+
rev: v6.0.0
88
hooks:
99
- id: check-case-conflict
1010
- id: check-ast
@@ -59,7 +59,7 @@ repos:
5959
- id: rst-inline-touching-normal
6060

6161
- repo: https://github.com/astral-sh/ruff-pre-commit
62-
rev: v0.12.7
62+
rev: v0.12.8
6363
hooks:
6464
- id: ruff
6565
types_or: [python, jupyter]

examples/execute_mode.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"source": [
88
"# Execute mode\n",
99
"\n",
10-
"The user can tell the kernel that they want to execute the code concrrently in a `thread` or `task` by adding the comment `##thread` or `##task` respecively as the top line in the code cell.\n",
10+
"The user can tell the kernel that they want to execute the code concrrently in a `thread` or `task` by adding the comment `##thread` or `##task` respectively as the top line in the code cell.\n",
1111
"\n",
1212
"``` python\n",
1313
"##thread\n",

tests/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
- uses: actions/checkout@v3
2828
- uses: jupyterlab/maintainer-tools/.github/actions/report-coverage@v1
2929
with:
30-
fail_under: 97
30+
fail_under: 97

tests/test_caller.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,14 @@ def test_error_from_non_thread(self):
107107
async def test_set_from_non_thread(self, anyio_backend):
108108
caller = Caller.start_new(backend=anyio_backend)
109109
try:
110-
fut = Future( thread=caller.thread)
110+
fut = Future(thread=caller.thread)
111111
assert fut.thread is not threading.current_thread()
112112
fut.set_result(value=123)
113113
assert (await fut) == 123
114114
finally:
115115
caller.stop()
116116

117117

118-
119118
@pytest.mark.anyio
120119
class TestCaller:
121120
def setup_method(self, test_method):

0 commit comments

Comments
 (0)