Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ci:
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.3
rev: v0.14.0
hooks:
- id: ruff-check
args: [--fix]
Expand Down
1 change: 1 addition & 0 deletions nonebot/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def is_none_type(type_: type[t.Any]) -> bool:
def is_type_alias_type(type_: type[t.Any]) -> bool:
"""判断是否是 TypeAliasType 类型"""
return isinstance(type_, t_ext.TypeAliasType)

else:

def is_type_alias_type(type_: type[t.Any]) -> bool:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ all = [

[dependency-groups]
dev = [
"ruff >=0.12.0, <0.13.0",
"ruff >=0.14.0, <0.15.0",
"nonemoji >=0.1.2, <0.2.0",
"pre-commit >=4.0.0, <5.0.0",
]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

@pytest.mark.anyio
@pytest.mark.xfail(
(3, 13) <= sys.version_info < (3, 14),
((3, 13) <= sys.version_info < (3, 13, 8)) or (3, 14) <= sys.version_info,
reason="CPython Bug, see python/cpython#137317, python/cpython#137862",
)
async def test_depend(app: App):
Expand Down
61 changes: 31 additions & 30 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.