-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
136 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,132 +1,132 @@ | ||
[project] | ||
name = "coolqbot" | ||
version = "0.18.0" | ||
description = "基于 NoneBot2 的聊天机器人" | ||
authors = [{ name = "uy_sun", email = "[email protected]" }] | ||
dependencies = [ | ||
"pydantic>=2.8.2", | ||
"eorzeaenv @ git+https://github.com/he0119/EorzeaEnv.git@coolqbot", | ||
"matplotlib>=3.9.1", | ||
"uvicorn[standard]>=0.30.5", | ||
"uvicorn-worker>=0.2.0", | ||
"gunicorn>=22.0.0", | ||
"nonebot2[httpx,fastapi,websockets]>=2.3.2", | ||
"nb-cli>=1.4.1", | ||
"nonebot-adapter-discord>=0.1.8", | ||
"nonebot-adapter-dodo>=0.2.1", | ||
"nonebot-adapter-kaiheila>=0.3.4", | ||
"nonebot-adapter-onebot>=2.4.4", | ||
"nonebot-adapter-qq>=1.5.0", | ||
"nonebot-adapter-red>=0.9.0", | ||
"nonebot-adapter-satori>=0.12.3", | ||
"nonebot-adapter-telegram>=0.1.0b17", | ||
"nonebot-plugin-wordcloud>=0.7.3", | ||
"nonebot-plugin-treehelp>=0.5.0", | ||
"nonebot-plugin-user>=0.3.0", | ||
"nonebot-plugin-orm[default]>=0.7.5", | ||
"nonebot-plugin-apscheduler>=0.5.0", | ||
"nonebot-plugin-send-anything-anywhere>=0.6.1", | ||
"nonebot-plugin-alconna>=0.50.3", | ||
"nonebot-plugin-datastore>=1.3.0", | ||
"nonebot-plugin-sentry>=2.0.0", | ||
"nonebot-plugin-memes==0.6.2", | ||
"nonebot-bison==0.9.3", | ||
"nonebot-plugin-status==0.8.1", | ||
"nonebot-plugin-bawiki==0.11.3", | ||
] | ||
readme = "README.md" | ||
license = { file = "LICENSE" } | ||
requires-python = ">= 3.12, < 3.13" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/he0119/CoolQBot" | ||
Repository = "https://github.com/he0119/CoolQBot.git" | ||
Issues = "https://github.com/he0119/CoolQBot/issues" | ||
Changelog = "https://github.com/he0119/CoolQBot/blob/master/CHANGELOG.md" | ||
|
||
[tool.rye] | ||
managed = true | ||
virtual = true | ||
universal = true | ||
dev-dependencies = [ | ||
"nonebug>=0.3.7", | ||
"nonebug-saa>=0.4.1", | ||
"pytest-cov>=5.0.0", | ||
"pytest-mock>=3.14.0", | ||
"pytest-xdist>=3.6.1", | ||
"pytest-asyncio>=0.23.7", | ||
"pytest-loguru>=0.4.0", | ||
"respx>=0.21.1", | ||
"freezegun>=1.5.1", | ||
"beautifulsoup4>=4.12.3", | ||
"bump-my-version>=0.24.3", | ||
] | ||
|
||
[tool.rye.scripts] | ||
test = "pytest --cov=src --cov-report xml -n auto" | ||
bump = "bump-my-version bump" | ||
show-bump = "bump-my-version show-bump" | ||
gen-fflogs = "python src/plugins/ff14/generate_fflogs_data.py" | ||
|
||
[tool.nonebot] | ||
plugin_dirs = ["src/plugins"] | ||
plugins = [ | ||
"nonebot_plugin_sentry", | ||
"nonebot_plugin_treehelp", | ||
"nonebot_plugin_wordcloud", | ||
"nonebot_plugin_memes", | ||
"nonebot_bison", | ||
"nonebot_plugin_status", | ||
"nonebot_plugin_bawiki", | ||
] | ||
|
||
[tool.pyright] | ||
pythonVersion = "3.12" | ||
pythonPlatform = "All" | ||
typeCheckingMode = "basic" | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
"W", # pycodestyle warnings | ||
"E", # pycodestyle errors | ||
"F", # pyflakes | ||
"UP", # pyupgrade | ||
"C4", # flake8-comprehensions | ||
"T10", # flake8-debugger | ||
"T20", # flake8-print | ||
"PYI", # flake8-pyi | ||
"PT", # flake8-pytest-style | ||
"Q", # flake8-quotes | ||
] | ||
ignore = [ | ||
"E402", # module-import-not-at-top-of-file | ||
"E501", # line-too-long | ||
] | ||
|
||
[tool.coverage.report] | ||
omit = ["*/migrations/*"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = ["--import-mode=importlib"] | ||
asyncio_mode = "auto" | ||
|
||
[tool.bumpversion] | ||
current_version = "0.18.0" | ||
commit = true | ||
message = "chore(release): {new_version} [skip ci]" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "pyproject.toml" | ||
search = "version = \"{current_version}\"" | ||
replace = "version = \"{new_version}\"" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "CHANGELOG.md" | ||
search = "[Unreleased]" | ||
replace = "[Unreleased]\n\n## [{new_version}] - {now:%Y-%m-%d}" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "CHANGELOG.md" | ||
regex = true | ||
search = "\\[unreleased\\]: (https://.+?)v{current_version}\\.\\.\\.HEAD" | ||
replace = "[unreleased]: \\1v{new_version}...HEAD\n[{new_version}]: \\1v{current_version}...v{new_version}" | ||
[project] | ||
name = "coolqbot" | ||
version = "0.18.1" | ||
description = "基于 NoneBot2 的聊天机器人" | ||
authors = [{ name = "uy_sun", email = "[email protected]" }] | ||
dependencies = [ | ||
"pydantic>=2.8.2", | ||
"eorzeaenv @ git+https://github.com/he0119/EorzeaEnv.git@coolqbot", | ||
"matplotlib>=3.9.1", | ||
"uvicorn[standard]>=0.30.5", | ||
"uvicorn-worker>=0.2.0", | ||
"gunicorn>=22.0.0", | ||
"nonebot2[httpx,fastapi,websockets]>=2.3.2", | ||
"nb-cli>=1.4.1", | ||
"nonebot-adapter-discord>=0.1.8", | ||
"nonebot-adapter-dodo>=0.2.1", | ||
"nonebot-adapter-kaiheila>=0.3.4", | ||
"nonebot-adapter-onebot>=2.4.4", | ||
"nonebot-adapter-qq>=1.5.0", | ||
"nonebot-adapter-red>=0.9.0", | ||
"nonebot-adapter-satori>=0.12.3", | ||
"nonebot-adapter-telegram>=0.1.0b17", | ||
"nonebot-plugin-wordcloud>=0.7.3", | ||
"nonebot-plugin-treehelp>=0.5.0", | ||
"nonebot-plugin-user>=0.3.0", | ||
"nonebot-plugin-orm[default]>=0.7.5", | ||
"nonebot-plugin-apscheduler>=0.5.0", | ||
"nonebot-plugin-send-anything-anywhere>=0.6.1", | ||
"nonebot-plugin-alconna>=0.50.3", | ||
"nonebot-plugin-datastore>=1.3.0", | ||
"nonebot-plugin-sentry>=2.0.0", | ||
"nonebot-plugin-memes==0.6.2", | ||
"nonebot-bison==0.9.3", | ||
"nonebot-plugin-status==0.8.1", | ||
"nonebot-plugin-bawiki==0.11.3", | ||
] | ||
readme = "README.md" | ||
license = { file = "LICENSE" } | ||
requires-python = ">= 3.12, < 3.13" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/he0119/CoolQBot" | ||
Repository = "https://github.com/he0119/CoolQBot.git" | ||
Issues = "https://github.com/he0119/CoolQBot/issues" | ||
Changelog = "https://github.com/he0119/CoolQBot/blob/master/CHANGELOG.md" | ||
|
||
[tool.rye] | ||
managed = true | ||
virtual = true | ||
universal = true | ||
dev-dependencies = [ | ||
"nonebug>=0.3.7", | ||
"nonebug-saa>=0.4.1", | ||
"pytest-cov>=5.0.0", | ||
"pytest-mock>=3.14.0", | ||
"pytest-xdist>=3.6.1", | ||
"pytest-asyncio>=0.23.7", | ||
"pytest-loguru>=0.4.0", | ||
"respx>=0.21.1", | ||
"freezegun>=1.5.1", | ||
"beautifulsoup4>=4.12.3", | ||
"bump-my-version>=0.24.3", | ||
] | ||
|
||
[tool.rye.scripts] | ||
test = "pytest --cov=src --cov-report xml -n auto" | ||
bump = "bump-my-version bump" | ||
show-bump = "bump-my-version show-bump" | ||
gen-fflogs = "python src/plugins/ff14/generate_fflogs_data.py" | ||
|
||
[tool.nonebot] | ||
plugin_dirs = ["src/plugins"] | ||
plugins = [ | ||
"nonebot_plugin_sentry", | ||
"nonebot_plugin_treehelp", | ||
"nonebot_plugin_wordcloud", | ||
"nonebot_plugin_memes", | ||
"nonebot_bison", | ||
"nonebot_plugin_status", | ||
"nonebot_plugin_bawiki", | ||
] | ||
|
||
[tool.pyright] | ||
pythonVersion = "3.12" | ||
pythonPlatform = "All" | ||
typeCheckingMode = "basic" | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
"W", # pycodestyle warnings | ||
"E", # pycodestyle errors | ||
"F", # pyflakes | ||
"UP", # pyupgrade | ||
"C4", # flake8-comprehensions | ||
"T10", # flake8-debugger | ||
"T20", # flake8-print | ||
"PYI", # flake8-pyi | ||
"PT", # flake8-pytest-style | ||
"Q", # flake8-quotes | ||
] | ||
ignore = [ | ||
"E402", # module-import-not-at-top-of-file | ||
"E501", # line-too-long | ||
] | ||
|
||
[tool.coverage.report] | ||
omit = ["*/migrations/*"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = ["--import-mode=importlib"] | ||
asyncio_mode = "auto" | ||
|
||
[tool.bumpversion] | ||
current_version = "0.18.1" | ||
commit = true | ||
message = "chore(release): {new_version} [skip ci]" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "pyproject.toml" | ||
search = "version = \"{current_version}\"" | ||
replace = "version = \"{new_version}\"" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "CHANGELOG.md" | ||
search = "[Unreleased]" | ||
replace = "[Unreleased]\n\n## [{new_version}] - {now:%Y-%m-%d}" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "CHANGELOG.md" | ||
regex = true | ||
search = "\\[unreleased\\]: (https://.+?)v{current_version}\\.\\.\\.HEAD" | ||
replace = "[unreleased]: \\1v{new_version}...HEAD\n[{new_version}]: \\1v{current_version}...v{new_version}" |