From bd17a65dc3282e37b997d27468abed4bad040051 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2025 00:43:17 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...25.1.0) - [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.3...v0.9.4) - [github.com/codespell-project/codespell: v2.4.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.4.0...v2.4.1) - [github.com/crate-ci/typos: dictgen-v0.3.1 → typos-dict-v0.12.4](https://github.com/crate-ci/typos/compare/dictgen-v0.3.1...typos-dict-v0.12.4) - [github.com/woodruffw/zizmor-pre-commit: v1.2.2 → v1.3.0](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.2.2...v1.3.0) - [github.com/astral-sh/uv-pre-commit: 0.5.24 → 0.5.26](https://github.com/astral-sh/uv-pre-commit/compare/0.5.24...0.5.26) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1b23f66d5..371134ae55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,22 +20,22 @@ 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 @@ -43,7 +43,7 @@ repos: 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 @@ -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 From af0dba7754cd59a941235fbd890d7c0c03972ce1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2025 00:43:41 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/trio/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/trio/__init__.py b/src/trio/__init__.py index 0b675ce473..f383c7b07e 100644 --- a/src/trio/__init__.py +++ b/src/trio/__init__.py @@ -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 From 0499bda215043a75432ec31582b572f515e51225 Mon Sep 17 00:00:00 2001 From: CoolCat467 <52022020+CoolCat467@users.noreply.github.com> Date: Mon, 3 Feb 2025 18:58:05 -0600 Subject: [PATCH 3/3] Update test versions --- test-requirements.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 621486bd0d..5c90252af8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 @@ -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 @@ -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 @@ -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