[project] name = "prova-brain" version = "0.1.0" requires-python = ">=3.12" dependencies = [ "httpx>=0.27", "pydantic>=2.7", "python-dotenv>=1.0", "pyyaml>=6.0", "rich>=13.7", "tzdata>=2024.1", ] [project.optional-dependencies] dev = ["pytest>=8.2", "pytest-asyncio>=0.23", "ruff>=0.5"] [tool.ruff] line-length = 100 target-version = "py312" # Eval reports quote whatever the model wrote, code blocks included. Formatting a transcript # would rewrite the evidence, and `ruff format --check` failing on one is CI failing on a record # of a test run rather than on the code. extend-exclude = ["brain/evals/reports"] [tool.ruff.lint] select = ["E", "F", "I", "B", "UP"] [tool.ruff.lint.per-file-ignores] # Persona text is prose; long lines in it are the text itself. "brain/persona/prova.py" = ["E501"] "brain/tests/*" = ["E501"] # A Kaggle notebook kept as a script: imports sit in the cells that use them. "training/lora/*" = ["E402", "E501"] [tool.pytest.ini_options] testpaths = ["brain/tests"] asyncio_mode = "auto"