Skip to content

Commit

Permalink
chore(release): 0.18.1 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Aug 7, 2024
1 parent 2900659 commit 13a71e5
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 133 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/lang/zh-CN/

## [Unreleased]

## [0.18.1] - 2024-08-07

### Added

- 支持 QQ 机器人平台的校验文件
Expand Down Expand Up @@ -531,7 +533,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/lang/zh-CN/

- 正常工作的版本。

[unreleased]: https://github.com/he0119/CoolQBot/compare/v0.18.0...HEAD
[unreleased]: https://github.com/he0119/CoolQBot/compare/v0.18.1...HEAD
[0.18.1]: https://github.com/he0119/CoolQBot/compare/v0.18.0...v0.18.1
[0.18.0]: https://github.com/he0119/CoolQBot/compare/v0.17.5...v0.18.0
[0.17.5]: https://github.com/he0119/CoolQBot/compare/v0.17.4...v0.17.5
[0.17.4]: https://github.com/he0119/CoolQBot/compare/v0.17.3...v0.17.4
Expand Down
264 changes: 132 additions & 132 deletions pyproject.toml
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}"

0 comments on commit 13a71e5

Please sign in to comment.