💥 Remove: 移除 Python 3.9 支持 (#3860)

This commit is contained in:
呵呵です
2026-02-18 00:11:36 +08:00
committed by GitHub
parent f719a6b41b
commit 63cde5da77
56 changed files with 603 additions and 1144 deletions

View File

@@ -1,4 +1,4 @@
from typing import Callable, Optional
from collections.abc import Callable
import pytest
@@ -103,7 +103,7 @@ from nonebot.typing import T_RuleChecker
)
def test_on(
matcher_name: str,
pre_rule_factory: Optional[Callable[[type[Event]], T_RuleChecker]],
pre_rule_factory: Callable[[type[Event]], T_RuleChecker] | None,
has_permission: bool,
):
import plugins.plugin.matchers as module