nonebot-bison/pyproject.toml
dependabot[bot] 230fe8f4a3
⬆️ Bump the dev-update group with 7 updates (#523)
Bumps the dev-update group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [pre-commit](https://github.com/pre-commit/pre-commit) | `3.6.2` | `3.7.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.3.0` | `0.3.5` |
| [pytest](https://github.com/pytest-dev/pytest) | `7.4.4` | `8.1.1` |
| [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `4.1.0` | `5.0.0` |
| [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.12.0` | `3.14.0` |
| [respx](https://github.com/lundberg/respx) | `0.20.2` | `0.21.1` |
| [nonebot-adapter-qq](https://github.com/nonebot/adapter-qq) | `1.4.2` | `1.4.3` |


Updates `pre-commit` from 3.6.2 to 3.7.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.6.2...v3.7.0)

Updates `ruff` from 0.3.0 to 0.3.5
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.3.0...v0.3.5)

Updates `pytest` from 7.4.4 to 8.1.1
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.1.1)

Updates `pytest-cov` from 4.1.0 to 5.0.0
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0)

Updates `pytest-mock` from 3.12.0 to 3.14.0
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.12.0...v3.14.0)

Updates `respx` from 0.20.2 to 0.21.1
- [Release notes](https://github.com/lundberg/respx/releases)
- [Changelog](https://github.com/lundberg/respx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lundberg/respx/compare/0.20.2...0.21.1)

Updates `nonebot-adapter-qq` from 1.4.2 to 1.4.3
- [Release notes](https://github.com/nonebot/adapter-qq/releases)
- [Commits](https://github.com/nonebot/adapter-qq/compare/v1.4.2...v1.4.3)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-update
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-update
- dependency-name: pytest-mock
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
- dependency-name: respx
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-update
- dependency-name: nonebot-adapter-qq
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-update
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 15:03:49 +08:00

143 lines
3.5 KiB
TOML

[tool.poetry]
name = "nonebot-bison"
version = "0.9.2"
description = "Subscribe message from social medias"
authors = ["felinae98 <felinae225@qq.com>"]
license = "MIT"
homepage = "https://github.com/felinae98/nonebot-bison"
keywords = ["nonebot", "nonebot2", "qqbot"]
readme = "README.md"
include = ["nonebot_bison/admin_page/dist/**/*"]
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0.0"
beautifulsoup4 = ">=4.12.3"
expiringdict = "^1.2.1"
feedparser = "^6.0.2"
httpx = ">=0.16.1"
nonebot2 = { extras = ["fastapi"], version = "^2.2.1" }
nonebot-adapter-onebot = "^2.0.0"
nonebot-plugin-htmlrender = ">=0.2.0"
nonebot-plugin-datastore = ">=1.2.0,<2.0.0"
nonebot-plugin-apscheduler = ">=0.4.0"
nonebot-plugin-send-anything-anywhere = ">=0.5.0,<0.7.0"
pillow = ">=8.1,<11.0"
pyjwt = "^2.1.0"
python-socketio = "^5.4.0"
tinydb = "^4.3.0"
qrcode = "^7.4.2"
pydantic = ">=1.10.0,<3.0.0,!=2.5.0,!=2.5.1"
lxml = ">=5.1.0"
yarl = ">=1.9.4"
[tool.poetry.group.dev.dependencies]
black = ">=23.7,<25.0"
ipdb = "^0.13.4"
isort = "^5.10.1"
nonemoji = "^0.1.4"
nb-cli = "^1.2.8"
pre-commit = "^3.3.0"
ruff = ">=0.0.278,<0.3.6"
[tool.poetry.group.test.dependencies]
flaky = "^3.7.0"
nonebug = "^0.3.4"
nonebug-saa = "^0.4.0"
pytest = ">=7.0.1,<9.0.0"
pytest-asyncio = ">=0.18.1,<0.24.0"
pytest-cov = ">=3,<6"
pytest-mock = "^3.10.0"
pytest-xdist = { extras = ["psutil"], version = "^3.1.0" }
respx = ">=0.20,<0.22"
[tool.poetry.group.docker]
optional = true
[tool.poetry.group.docker.dependencies]
nb-cli = "^1.4.0"
nonebot2 = { extras = ["fastapi", "aiohttp"], version = "^2.2.1" }
nonebot-adapter-red = "^0.9.0"
nonebot-adapter-qq = "^1.4.2"
nonebot-adapter-telegram = "^0.1.0b14"
poetry-core = "^1.8.1"
[tool.poetry.extras]
cli = ["anyio", "click", "typing-extensions"]
yaml = ["pyyaml"]
all = ["anyio", "click", "typing-extensions", "pyyaml"]
[tool.poetry.plugins.nb_scripts]
bison = "nonebot_bison.script.cli:main"
[build-system]
requires = ["poetry-core>=1.4.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
markers = [
"compare: compare fetching result with rsshub",
"render: render img by chrome",
"external: use external resources",
]
asyncio_mode = "auto"
[tool.ruff]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q"]
ignore = ["E402", "C901", "PT023"]
line-length = 120
target-version = "py310"
[tool.black]
line-length = 120
preview = true
target-version = ["py310", "py311", "py312"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.isort]
profile = "black"
line_length = 120
skip_gitignore = true
length_sort = true
force_sort_within_sections = true
src_paths = ["nonebot_bison", "tests"]
extra_standard_library = ["typing_extensions"]
[tool.nonebot]
adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" },
]
plugins = ["nonebot_bison"]
plugin_dirs = ["extra_plugins"]
builtin_plugins = ["echo"]
[tool.pyright]
reportShadowedImports = false
pythonVersion = "3.10"
pythonPlatform = "All"
executionEnvironments = [
{ root = "./tests", extraPaths = [
"./",
] },
{ root = "./" },
]
defineConstant = { PYDANTIC_V2 = true }
[[tool.poetry.source]]
name = "offical-source"
url = "https://pypi.org/simple/"
priority = "primary"