[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "arbiter" version = "0.2.0" description = "A multi-agent code review system that shows its work" readme = "readme.md" requires-python = ">=3.12" license = "MIT" authors = [{ name = "Kai Chappell", email = "git@kschappell.com" }] keywords = ["code-review", "ai", "llm", "agents"] classifiers = [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Quality Assurance", ] dependencies = [ "litellm>=1.0.0", "pydantic>=2.0.0", "pydantic-settings>=2.0.0", "typer>=0.9.0", "rich>=13.0.0", "pyyaml>=6.0.0", ] [project.optional-dependencies] dev = [ "pytest>=8.0.0", "pytest-asyncio>=0.23.0", "pytest-cov>=4.0.0", "ruff>=0.4.0", "mypy>=1.10.0", "types-PyYAML>=6.0.0", ] [project.scripts] arbiter = "arbiter.cli:app" [tool.hatch.build.targets.wheel] packages = ["src/arbiter"] [tool.ruff] target-version = "py312" line-length = 100 src = ["src", "tests"] [tool.ruff.lint] select = [ "E", # pycodestyle errors "W", # pycodestyle warnings "F", # Pyflakes "I", # isort "B", # flake8-bugbear "C4", # flake8-comprehensions "UP", # pyupgrade "ARG", # flake8-unused-arguments "SIM", # flake8-simplify "TCH", # flake8-type-checking "PTH", # flake8-use-pathlib "RUF", # Ruff-specific rules ] ignore = [ "E501", # line too long (handled by formatter) ] [tool.ruff.lint.isort] known-first-party = ["arbiter"] [tool.mypy] python_version = "3.12" strict = true warn_return_any = true warn_unused_ignores = true disallow_untyped_defs = true disallow_incomplete_defs = true check_untyped_defs = true disallow_untyped_decorators = true no_implicit_optional = true warn_redundant_casts = true warn_unused_configs = true show_error_codes = true files = ["src"] [[tool.mypy.overrides]] module = ["litellm.*"] ignore_missing_imports = true [tool.pytest.ini_options] testpaths = ["tests"] asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function" addopts = "-ra -q" [tool.coverage.run] source = ["src/arbiter"] branch = true [tool.coverage.report] exclude_lines = [ "pragma: no cover", "def __repr__", "raise NotImplementedError", "if TYPE_CHECKING:", "if __name__ == .__main__.:", ] fail_under = 85