-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (48 loc) · 1.77 KB
/
pyproject.toml
File metadata and controls
55 lines (48 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tool.poetry]
name = "evocoder"
version = "0.1.0"
description = "An AI agent inspired by AlphaEvolve to iteratively evolve code solutions using LLMs."
authors = ["Gogol B <gogolb@tamu.edu>"]
readme = "README.md"
license = "MIT"
packages = [{include = "evocoder", from = "."}]
[tool.poetry.dependencies]
python = "^3.12"
python-dotenv = "^1.0.0" # For loading .env files
httpx = "^0.28.0" # For making HTTP requests (to Open WebUI API)
typer = {extras = ["all"], version = "^0.12.3"} # For creating a nice CLI
# asyncio is part of the standard library
google-genai = "^1.16.0"
PyYAML = "^6.0" # For YAML parsing
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0" # For running tests
pytest-asyncio = "^0.23.0" # For testing asyncio code with pytest
pytest-cov = "^5.0.0" # For test coverage reports
ruff = "^0.4.0" # For linting and formatting (optional but highly recommended)
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = [".", "evocoder"] # Ensures pytest can find your evocoder package
asyncio_mode = "auto" # Recommended for pytest-asyncio
[tool.ruff]
# Ruff is a very fast Python linter and formatter, combining tools like Flake8, isort, Black, etc.
# This is a basic configuration. You can customize it extensively.
line-length = 88
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort (import sorting)
"C", # McCabe complexity
"B", # flake8-bugbear
]
ignore = [
"E501", # Line too long (handled by formatter if you use one like Black or Ruff's own formatter)
]
[tool.ruff.format]
# If you want Ruff to also format your code (like Black)
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"