fix: pyproject

This commit is contained in:
Raven95676
2025-11-07 16:18:42 +08:00
parent ad5579a2f4
commit 817f20ea01
+9 -12
View File
@@ -1,15 +1,11 @@
[project]
name = "AstrBot"
version = "4.5.5"
version = "4.5.6"
description = "Easy-to-use multi-platform LLM chatbot and development framework"
readme = "README.md"
requires-python = ">=3.10"
keywords = [
"Astrbot",
"Astrbot Module",
"Astrbot Plugin"
]
keywords = ["Astrbot", "Astrbot Module", "Astrbot Plugin"]
dependencies = [
"aiocqhttp>=1.4.4",
@@ -78,10 +74,7 @@ dev = [
astrbot = "astrbot.cli.__main__:cli"
[tool.ruff]
exclude = [
"astrbot/core/utils/t2i/local_strategy.py",
"astrbot/api/all.py",
]
exclude = ["astrbot/core/utils/t2i/local_strategy.py", "astrbot/api/all.py"]
line-length = 88
target-version = "py310"
@@ -101,7 +94,7 @@ ignore = [
"F403",
"F405",
"E501",
"ASYNC230" # TODO: handle ASYNC230 in AstrBot
"ASYNC230", # TODO: handle ASYNC230 in AstrBot
]
[tool.pyright]
@@ -109,5 +102,9 @@ typeCheckingMode = "basic"
pythonVersion = "3.10"
reportMissingTypeStubs = false
reportMissingImports = false
include = ["astrbot","packages"]
include = ["astrbot", "packages"]
exclude = ["dashboard", "node_modules", "dist", "data", "tests"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"