mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-19 21:24:31 +01:00
Add pyproject file to autogpt.core
This commit is contained in:
69
autogpts/autogpt/autogpt/core/pyproject.toml
Normal file
69
autogpts/autogpt/autogpt/core/pyproject.toml
Normal file
@@ -0,0 +1,69 @@
|
||||
[tool.poetry]
|
||||
name = "agpt"
|
||||
version = "1.0.0"
|
||||
authors = ["Significant Gravitas <support@agpt.co>"]
|
||||
maintainers = ["Reinier van der Leer <reinier.vanderleer@agpt.co>"]
|
||||
description = "An open-source attempt at an autonomous generalist agent"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/Significant-Gravitas/Auto-GPT/tree/master/autogpts/agpt"
|
||||
# documentation = "https://docs.agpt.co/autogpts/agpt" # TODO
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
agent-protocol = "^0.3.0"
|
||||
click = "^8.1.7"
|
||||
distro = "^1.8.0"
|
||||
inflection = "^0.5.1"
|
||||
openai = "^0.28.0"
|
||||
pydantic = "^2.3.0"
|
||||
pyyaml = "^6.0.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
|
||||
[tool.black]
|
||||
line-length = 88
|
||||
target-version = ['py310']
|
||||
include = '\.pyi?$'
|
||||
packages = ["autogpt"]
|
||||
extend-exclude = '.+/(dist|.venv|venv|build)/.+'
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
multi_line_output = 3
|
||||
include_trailing_comma = true
|
||||
force_grid_wrap = 0
|
||||
use_parentheses = true
|
||||
ensure_newline_before_comments = true
|
||||
line_length = 88
|
||||
sections = [
|
||||
"FUTURE",
|
||||
"STDLIB",
|
||||
"THIRDPARTY",
|
||||
"FIRSTPARTY",
|
||||
"LOCALFOLDER"
|
||||
]
|
||||
skip = '''
|
||||
.tox
|
||||
__pycache__
|
||||
*.pyc
|
||||
.env
|
||||
venv*/*
|
||||
.venv/*
|
||||
reports/*
|
||||
dist/*
|
||||
|
||||
'''
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
markers = [
|
||||
"requires_openai_api_key",
|
||||
"requires_huggingface_api_key"
|
||||
]
|
||||
Reference in New Issue
Block a user