Skip to content

Commit

Permalink
Add pyproject file to autogpt.core
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Sep 15, 2023
1 parent b21d68a commit 42bc3af
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions autogpts/autogpt/autogpt/core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
[tool.poetry]
name = "agpt"
version = "1.0.0"
authors = ["Significant Gravitas <[email protected]>"]
maintainers = ["Reinier van der Leer <[email protected]>"]
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"
]

0 comments on commit 42bc3af

Please sign in to comment.