[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