mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 20:55:09 +01:00
87 lines
1.6 KiB
TOML
87 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
|
|
[project]
|
|
name = "gpt-engineer"
|
|
version = "0.0.1"
|
|
description = "Specify what you want it to build, the AI asks for clarification, and then builds it."
|
|
readme = "README.md"
|
|
requires-python = ">=3"
|
|
dependencies = [
|
|
'black == 23.3.0',
|
|
'openai == 0.27.8',
|
|
'ruff == 0.0.272',
|
|
'typer == 0.9.0'
|
|
]
|
|
|
|
[project.scripts]
|
|
gpt-engineer = 'gpt_engineer.main:app'
|
|
|
|
[tool.setuptools]
|
|
packages = ["gpt_engineer"]
|
|
|
|
# https://beta.ruff.rs/docs/configuration/#using-rufftoml
|
|
[tool.ruff]
|
|
select = ["F", "E", "W", "I001"]
|
|
line-length = 90
|
|
show-fixes = false
|
|
target-version = "py311"
|
|
task-tags = ["TODO", "FIXME"]
|
|
exclude = [
|
|
".bzr",
|
|
".direnv",
|
|
".eggs",
|
|
".git",
|
|
".ruff_cache",
|
|
".svn",
|
|
".tox",
|
|
".venv",
|
|
"__pypackages__",
|
|
"_build",
|
|
"buck-out",
|
|
"build",
|
|
"dist",
|
|
"node_modules",
|
|
"venv",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://github.com/AntonOsika/gpt-engineer"
|
|
"Bug Tracker" = "https://github.com/AntonOsika/gpt-engineer/issues"
|
|
|
|
|
|
[tool.ruff.isort]
|
|
known-first-party = []
|
|
known-third-party = []
|
|
section-order = [
|
|
"future",
|
|
"standard-library",
|
|
"third-party",
|
|
"first-party",
|
|
"local-folder",
|
|
]
|
|
combine-as-imports = true
|
|
split-on-trailing-comma = false
|
|
lines-between-types = 1
|
|
|
|
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html
|
|
[tool.black]
|
|
line-length = 90
|
|
target-version = ["py311"]
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
(
|
|
/(
|
|
\.direnv
|
|
| \.eggs
|
|
| \.git
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| build
|
|
| dist
|
|
| venv
|
|
)/
|
|
)
|
|
'''
|