This commit is contained in:
chenxiangtong
2026-03-26 17:38:47 +08:00
commit a05ce6e07e
54 changed files with 5779 additions and 0 deletions

25
pyproject.toml Normal file
View File

@@ -0,0 +1,25 @@
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "RUF"]
ignore = ["E501", "RUF001", "RUF002", "RUF003"]
[tool.pytest.ini_options]
pythonpath = ["."]
addopts = "-q"
[tool.mypy]
python_version = "3.11"
strict = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_optional = true
show_error_codes = true
pretty = true
files = ["src", "main.py"]
[[tool.mypy.overrides]]
module = ["astrbot.*", "playwright.*", "apscheduler.*", "pytz", "jinja2", "yaml"]
ignore_missing_imports = true