Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,30 @@ repos:
- id: sort-simple-yaml
files: .pre-commit-config.yaml
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.3
rev: v0.9.4
hooks:
- id: ruff
types: [file]
types_or: [python, pyi, toml]
args: ["--show-fixes"]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.0
rev: v2.4.1
hooks:
- id: codespell
- repo: https://github.com/crate-ci/typos
rev: dictgen-v0.3.1
rev: typos-dict-v0.12.4
hooks:
- id: typos
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0
hooks:
- id: sphinx-lint
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.2.2
rev: v1.3.0
hooks:
- id: zizmor
- repo: local
Expand All @@ -56,7 +56,7 @@ repos:
additional_dependencies: ["astor", "attrs", "black", "ruff"]
files: ^src\/trio\/_core\/(_run|(_i(o_(common|epoll|kqueue|windows)|nstrumentation)))\.py$
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.24
rev: 0.5.26
hooks:
# Compile requirements
- id: pip-compile
Expand Down
3 changes: 1 addition & 2 deletions src/trio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Trio - A friendly Python library for async concurrency and I/O
"""
"""Trio - A friendly Python library for async concurrency and I/O"""

from __future__ import annotations

Expand Down
8 changes: 4 additions & 4 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ attrs==24.3.0
# outcome
babel==2.16.0
# via sphinx
black==24.10.0 ; implementation_name == 'cpython'
black==25.1.0 ; implementation_name == 'cpython'
# via -r test-requirements.in
certifi==2024.12.14
# via requests
Expand All @@ -28,7 +28,7 @@ charset-normalizer==3.4.1
# via requests
click==8.1.8 ; implementation_name == 'cpython'
# via black
codespell==2.4.0
codespell==2.4.1
# via -r test-requirements.in
colorama==0.4.6 ; sys_platform == 'win32'
# via
Expand Down Expand Up @@ -128,7 +128,7 @@ pyyaml==6.0.2
# via pre-commit
requests==2.32.3
# via sphinx
ruff==0.9.3
ruff==0.9.4
# via -r test-requirements.in
sniffio==1.3.1
# via -r test-requirements.in
Expand Down Expand Up @@ -181,7 +181,7 @@ typing-extensions==4.12.2
# pyright
urllib3==2.3.0
# via requests
uv==0.5.24
uv==0.5.26
# via -r test-requirements.in
virtualenv==20.28.0
# via pre-commit
Expand Down
Loading