权限系统 #55

Merged
Passthem merged 11 commits from feature/permsystem into master 2026-03-07 17:55:28 +08:00
25 changed files with 2139 additions and 1318 deletions
Showing only changes of commit 9064b31fe9 - Show all commits

View File

@ -2,4 +2,8 @@ watch:
poetry run watchfiles bot.main . --filter scripts.watch_filter.filter
test:
poetry run pytest --cov=konabot --cov-report term-missing:skip-covered
poetry run pytest --cov-report term-missing:skip-covered
coverage:
poetry run pytest --cov-report html
python -m http.server -d htmlcov

View File

@ -62,6 +62,7 @@ testpaths = "tests"
python_files = "test_*.py"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
addopts = "--cov=./konabot/"
[tool.nonebot]
# plugin_dirs = ["konabot/plugins/"]