-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (86 loc) · 2.24 KB
/
pyproject.toml
File metadata and controls
98 lines (86 loc) · 2.24 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[tool.poetry]
name = "code-review-agentic-framework"
version = "0.1.0"
description = "Multi-agent code review framework using CrewAI - Master's Thesis Project"
authors = ["Your Name <your.email@example.com>"]
readme = "README.md"
license = "MIT"
package-mode = false
[tool.poetry.dependencies]
python = ">=3.12,<3.14"
crewai = "^1.6.1"
crewai-tools = "^1.6.1"
pydantic = "^2.12.5"
pydantic-settings = "^2.12.0"
typer = {extras = ["all"], version = "^0.20.0"}
rich = "^14.2.0"
python-dotenv = "^1.2.1"
gitpython = "^3.1.45"
numpy = "^1.26.4"
scipy = "^1.16.3"
pandas = "^2.3.3"
openai = "^2.8.1"
langchain-openai = "^1.1.0"
langchain-anthropic = "^1.3.0"
requests = "^2.32.5"
[tool.poetry.group.dev.dependencies]
pytest = "^9.0.1"
pytest-cov = "^7.0.0"
pytest-asyncio = "^1.3.0"
pytest-mock = "^3.15.1"
ruff = "^0.14.7"
mypy = "^1.19.0"
[tool.poetry.group.tools]
optional = true
[tool.poetry.group.tools.dependencies]
semgrep = "^1.79.0"
bandit = {extras = ["toml"], version = "^1.9.2"}
[tool.poetry.scripts]
code-review = "app.cli:app"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 100
target-version = "py312"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_any_generics = false
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=. --cov-report=term-missing --cov-report=html"
[tool.coverage.run]
source = ["."]
omit = ["tests/*", "*/venv/*", "*/__pycache__/*", "*/site-packages/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]