mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-21 03:16:50 +00:00
✅ add pytest
This commit is contained in:
@ -39,6 +39,7 @@ aiohttp = { version = "^3.7.4", extras = ["speedups"], optional = true }
|
||||
sphinx = "^4.1.1"
|
||||
isort = "^5.10.1"
|
||||
black = "^21.11b1"
|
||||
pytest-cov = "^3.0.0"
|
||||
sphinx-markdown-builder = { git = "https://github.com/nonebot/sphinx-markdown-builder.git" }
|
||||
|
||||
[tool.poetry.extras]
|
||||
@ -51,6 +52,9 @@ all = ["quart", "aiohttp"]
|
||||
# url = "https://mirrors.aliyun.com/pypi/simple/"
|
||||
# default = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "--cov=nonebot --cov-report=term-missing"
|
||||
|
||||
[tool.black]
|
||||
line-length = 88
|
||||
target-version = ["py37", "py38", "py39", "py310"]
|
||||
|
Reference in New Issue
Block a user