2023-07-26 08:14:36 +02:00
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools>=61.0"]
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
[project]
|
2024-03-22 20:11:26 +02:00
|
|
|
name = "pr-agent"
|
2025-03-02 17:37:33 +02:00
|
|
|
version = "0.2.7"
|
2024-03-22 20:11:26 +02:00
|
|
|
|
2025-03-02 17:37:33 +02:00
|
|
|
authors = [{ name = "QodoAI", email = "tal.r@qodo.ai" }]
|
2023-07-26 08:14:36 +02:00
|
|
|
|
|
|
|
maintainers = [
|
2025-03-02 17:37:33 +02:00
|
|
|
{ name = "Tal Ridnik", email = "tal.r@qodo.ai" },
|
2023-07-26 08:14:36 +02:00
|
|
|
]
|
2024-03-22 20:11:26 +02:00
|
|
|
|
2025-03-02 17:37:33 +02:00
|
|
|
description = "QodoAI PR-Agent aims to help efficiently review and handle pull requests, by providing AI feedbacks and suggestions."
|
2023-07-26 08:14:36 +02:00
|
|
|
readme = "README.md"
|
2025-03-02 17:37:33 +02:00
|
|
|
requires-python = ">=3.12"
|
2024-03-22 20:11:26 +02:00
|
|
|
keywords = ["AI", "Agents", "Pull Request", "Automation", "Code Review"]
|
2025-04-24 16:14:02 +08:00
|
|
|
license = "Apache-2.0"
|
2024-03-22 20:11:26 +02:00
|
|
|
|
2023-07-26 08:14:36 +02:00
|
|
|
classifiers = [
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
]
|
2023-08-27 15:39:45 +03:00
|
|
|
dynamic = ["dependencies"]
|
2023-07-26 08:14:36 +02:00
|
|
|
|
2024-03-22 20:11:26 +02:00
|
|
|
|
2023-08-27 15:39:45 +03:00
|
|
|
[tool.setuptools.dynamic]
|
2024-10-30 09:56:03 +09:00
|
|
|
dependencies = { file = ["requirements.txt"] }
|
2023-07-26 08:14:36 +02:00
|
|
|
|
|
|
|
[project.urls]
|
2025-01-23 16:59:04 +02:00
|
|
|
"Homepage" = "https://github.com/qodo-ai/pr-agent"
|
2025-03-02 17:37:33 +02:00
|
|
|
"Documentation" = "https://qodo-merge-docs.qodo.ai/"
|
2023-07-26 08:14:36 +02:00
|
|
|
|
|
|
|
[tool.setuptools]
|
2024-03-22 20:11:26 +02:00
|
|
|
include-package-data = true
|
2023-07-26 08:14:36 +02:00
|
|
|
license-files = ["LICENSE"]
|
|
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
where = ["."]
|
2024-10-30 09:56:03 +09:00
|
|
|
include = [
|
|
|
|
"pr_agent*",
|
|
|
|
] # include pr_agent and any sub-packages it finds under it.
|
2023-07-26 08:14:36 +02:00
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
pr-agent = "pr_agent.cli:run"
|
|
|
|
|
2023-07-06 00:21:08 +03:00
|
|
|
[tool.ruff]
|
|
|
|
line-length = 120
|
|
|
|
|
2024-10-30 09:56:03 +09:00
|
|
|
lint.select = [
|
|
|
|
"E", # Pyflakes
|
|
|
|
"F", # Pyflakes
|
|
|
|
"B", # flake8-bugbear
|
|
|
|
"I001", # isort basic checks
|
|
|
|
"I002", # isort missing-required-import
|
|
|
|
]
|
2023-07-06 00:21:08 +03:00
|
|
|
|
|
|
|
# First commit - only fixing isort
|
2024-10-30 09:56:03 +09:00
|
|
|
lint.fixable = [
|
|
|
|
"I001", # isort basic checks
|
2023-07-06 00:21:08 +03:00
|
|
|
]
|
|
|
|
|
2024-10-30 09:56:03 +09:00
|
|
|
lint.unfixable = [
|
|
|
|
"B", # Avoid trying to fix flake8-bugbear (`B`) violations.
|
2023-07-06 00:21:08 +03:00
|
|
|
]
|
|
|
|
|
2024-10-30 09:56:03 +09:00
|
|
|
lint.exclude = ["api/code_completions"]
|
|
|
|
|
|
|
|
lint.ignore = ["E999", "B008"]
|
|
|
|
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
|
|
"__init__.py" = [
|
|
|
|
"E402",
|
|
|
|
] # Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`.
|
2023-07-06 00:21:08 +03:00
|
|
|
|
2024-10-30 09:56:03 +09:00
|
|
|
[tool.bandit]
|
|
|
|
exclude_dirs = ["tests"]
|
|
|
|
skips = ["B101"]
|
|
|
|
tests = []
|