Skip to content

Commit d3c5dec

Browse files
authored
🔖 Release: v2.4.2 (#3365)
1 parent d1e2eb4 commit d3c5dec

File tree

103 files changed

+1927
-21144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1927
-21144
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ci:
77
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.9.9
10+
rev: v0.9.10
1111
hooks:
1212
- id: ruff
1313
args: [--fix]

envs/pydantic-v1/poetry.lock

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

envs/pydantic-v2/poetry.lock

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

envs/test/poetry.lock

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

nonebot/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ async def run_coro_with_shield(coro: Coroutine[Any, Any, T]) -> T:
253253
with anyio.CancelScope(shield=True):
254254
return await coro
255255

256+
raise RuntimeError("This should not happen")
257+
256258

257259
def flatten_exception_group(
258260
exc_group: BaseExceptionGroup[E],

poetry.lock

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

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "nonebot2"
3-
version = "2.4.1"
3+
version = "2.4.2"
44
description = "An asynchronous python bot framework."
55
authors = ["yanyongyu <yyy@nonebot.dev>"]
66
license = "MIT"
@@ -112,7 +112,6 @@ mark-parentheses = false
112112
[tool.ruff.lint.pyupgrade]
113113
keep-runtime-typing = true
114114

115-
116115
[tool.pyright]
117116
pythonVersion = "3.9"
118117
pythonPlatform = "All"

website/versioned_docs/version-2.3.3/README.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

website/versioned_docs/version-2.3.3/advanced/adapter.md

Lines changed: 0 additions & 161 deletions
This file was deleted.

0 commit comments

Comments
 (0)