Files
pr-agent/pyproject.toml

81 lines
1.8 KiB
TOML
Raw Normal View History

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"
version = "0.2.0"
authors = [{name= "CodiumAI", email = "tal.r@codium.ai"}]
2023-07-26 08:14:36 +02:00
maintainers = [
2023-07-28 02:09:01 +03:00
{name = "Tal Ridnik", email = "tal.r@codium.ai"},
2024-03-22 20:11:26 +02:00
{name = "Ori Kotek", email = "ori.k@codium.ai"},
2023-07-28 02:09:01 +03:00
{name = "Hussam Lawen", email = "hussam.l@codium.ai"},
2023-07-26 08:14:36 +02:00
]
2024-03-22 20:11:26 +02:00
description = "CodiumAI 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"
requires-python = ">=3.10"
2024-03-22 20:11:26 +02:00
keywords = ["AI", "Agents", "Pull Request", "Automation", "Code Review"]
license = {name = "Apache 2.0", file = "LICENSE"}
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]
2023-08-27 15:36:39 +03:00
dependencies = {file = ["requirements.txt"]}
2023-07-26 08:14:36 +02:00
[project.urls]
"Homepage" = "https://github.com/Codium-ai/pr-agent"
2024-03-22 20:11:26 +02:00
"Documentation" = "https://pr-agent-docs.codium.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-03-22 20:11:26 +02: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
select = [
"E", # Pyflakes
"F", # Pyflakes
"B", # flake8-bugbear
"I001", # isort basic checks
"I002", # isort missing-required-import
]
# First commit - only fixing isort
fixable = [
"I001", # isort basic checks
]
unfixable = [
"B", # Avoid trying to fix flake8-bugbear (`B`) violations.
]
exclude = [
"api/code_completions",
]
ignore = [
"E999", "B008"
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402"] # Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`.
# TODO: should decide if maybe not to ignore these.