diff --git a/autogpts/autogpt/autogpt/core/pyproject.toml b/autogpts/autogpt/autogpt/core/pyproject.toml new file mode 100644 index 00000000..174d3149 --- /dev/null +++ b/autogpts/autogpt/autogpt/core/pyproject.toml @@ -0,0 +1,69 @@ +[tool.poetry] +name = "agpt" +version = "1.0.0" +authors = ["Significant Gravitas "] +maintainers = ["Reinier van der Leer "] +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" +]