From bd195ac87a658aaf0e85d757f3803837ce911666 Mon Sep 17 00:00:00 2001 From: XuChenXu <91937041+ChenXu233@users.noreply.github.com> Date: Mon, 22 Sep 2025 21:40:56 +0800 Subject: [PATCH] :bookmark: Version 3.0.0 --- nonebot_plugin_dialectlist/utils.py | 2 +- pdm.lock | 8 ++++---- pyproject.toml | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/nonebot_plugin_dialectlist/utils.py b/nonebot_plugin_dialectlist/utils.py index b5b2128..1a70014 100644 --- a/nonebot_plugin_dialectlist/utils.py +++ b/nonebot_plugin_dialectlist/utils.py @@ -69,7 +69,7 @@ def got_rank(msg_dict: Dict[int, int]) -> List[List[Any]]: while len(rank) < plugin_config.get_num: try: max_key = max(msg_dict.items(), key=lambda x: x[1]) - rank.append(tuple(max_key)) + rank.append(list(max_key)) msg_dict.pop(max_key[0]) except ValueError: logger.error( diff --git a/pdm.lock b/pdm.lock index 7fb088d..995839b 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev"] strategy = [] lock_version = "4.5.0" -content_hash = "sha256:42cf686b0618c9e80b1aae28a90a3d694e17da96b6a208ff2720f11d88ef4e4f" +content_hash = "sha256:1e8f0e2bc32d8cf861a8342b7d90d683f0efc9cd94ac461dc65363788a365902" [[metadata.targets]] requires_python = ">=3.9,<3.13" @@ -1805,7 +1805,7 @@ files = [ [[package]] name = "twine" -version = "6.1.0" +version = "6.2.0" summary = "" dependencies = [ "id", @@ -1820,8 +1820,8 @@ dependencies = [ "urllib3", ] files = [ - {file = "twine-6.1.0-py3-none-any.whl", hash = "sha256:a47f973caf122930bf0fbbf17f80b83bc1602c9ce393c7845f289a3001dc5384"}, - {file = "twine-6.1.0.tar.gz", hash = "sha256:be324f6272eff91d07ee93f251edf232fc647935dd585ac003539b42404a8dbd"}, + {file = "twine-6.2.0-py3-none-any.whl", hash = "sha256:418ebf08ccda9a8caaebe414433b0ba5e25eb5e4a927667122fbe8f829f985d8"}, + {file = "twine-6.2.0.tar.gz", hash = "sha256:e5ed0d2fd70c9959770dce51c8f39c8945c574e18173a7b81802dab51b4b75cf"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index a562cef..d0f902c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dependencies = [ "nonebot-plugin-userinfo>=0.2.6", "nonebot-plugin-htmlrender>=0.3.3", "nonebot2>=2.3.2", - "pillow>=10.4.0", + "pillow>=11.3.0", "nonebot-plugin-uninfo>=0.1.1", ] requires-python = ">=3.9,<4.0" @@ -23,9 +23,9 @@ license = { text = "MIT" } [project.optional-dependencies] dev = [ "ruff>=0.5.5", - "setuptools>=71.1.0", - "twine>=5.1.0", - "nb-cli>=0.7.6", + "setuptools>=80.9.0", + "twine>=6.2.0", + "nb-cli>=1.4.2", "py-spy>=0.3.14", ] Test = ["nonebot-adapter-onebot>=2.4.4"]