Skip to content

Commit 235bc2e

Browse files
authored
Merge pull request #3193 from python-trio/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents ed2a7d3 + 82ca3d9 commit 235bc2e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ repos:
2424
hooks:
2525
- id: black
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: v0.9.2
27+
rev: v0.9.3
2828
hooks:
2929
- id: ruff
3030
types: [file]
3131
types_or: [python, pyi, toml]
3232
args: ["--show-fixes"]
3333
- repo: https://github.com/codespell-project/codespell
34-
rev: v2.3.0
34+
rev: v2.4.0
3535
hooks:
3636
- id: codespell
3737
- repo: https://github.com/crate-ci/typos
@@ -56,7 +56,7 @@ repos:
5656
additional_dependencies: ["astor", "attrs", "black", "ruff"]
5757
files: ^src\/trio\/_core\/(_run|(_i(o_(common|epoll|kqueue|windows)|nstrumentation)))\.py$
5858
- repo: https://github.com/astral-sh/uv-pre-commit
59-
rev: 0.5.21
59+
rev: 0.5.24
6060
hooks:
6161
# Compile requirements
6262
- id: pip-compile

docs/source/reference-core.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ If you've used other I/O frameworks, you may have encountered the
17971797
concept of a "thread pool", which is most commonly implemented as a
17981798
fixed size collection of threads that hang around waiting for jobs to
17991799
be assigned to them. These solve two different problems: First,
1800-
re-using the same threads over and over is more efficient than
1800+
reusing the same threads over and over is more efficient than
18011801
starting and stopping a new thread for every job you need done;
18021802
basically, the pool acts as a kind of cache for idle threads. And
18031803
second, having a fixed size avoids getting into a situation where
@@ -1848,7 +1848,7 @@ into two layers. The lower layer is responsible for taking blocking
18481848
I/O jobs and arranging for them to run immediately on some worker
18491849
thread. It takes care of solving the tricky concurrency problems
18501850
involved in managing threads and is responsible for optimizations like
1851-
re-using threads, but has no admission control policy: if you give it
1851+
reusing threads, but has no admission control policy: if you give it
18521852
100,000 jobs, it will spawn 100,000 threads. The upper layer is
18531853
responsible for providing the policy to make sure that this doesn't
18541854
happen – but since it *only* has to worry about policy, it can be much

test-requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ charset-normalizer==3.4.1
2828
# via requests
2929
click==8.1.8 ; implementation_name == 'cpython'
3030
# via black
31-
codespell==2.3.0
31+
codespell==2.4.0
3232
# via -r test-requirements.in
3333
colorama==0.4.6 ; sys_platform == 'win32'
3434
# via
@@ -128,7 +128,7 @@ pyyaml==6.0.2
128128
# via pre-commit
129129
requests==2.32.3
130130
# via sphinx
131-
ruff==0.9.2
131+
ruff==0.9.3
132132
# via -r test-requirements.in
133133
sniffio==1.3.1
134134
# via -r test-requirements.in
@@ -181,7 +181,7 @@ typing-extensions==4.12.2
181181
# pyright
182182
urllib3==2.3.0
183183
# via requests
184-
uv==0.5.21
184+
uv==0.5.24
185185
# via -r test-requirements.in
186186
virtualenv==20.28.0
187187
# via pre-commit

0 commit comments

Comments
 (0)