From 1558080cdfe66c252f99a8f44f65ea6d450f1df1 Mon Sep 17 00:00:00 2001 From: Plamen Ivanov Date: Wed, 29 May 2024 19:50:38 +0300 Subject: [PATCH] feat(pyproject.toml): add langchain-community dependency --- pyproject.toml | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 68faccbfc6..b9bcf120e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ regex = "^2023.12.25" pillow = "^10.2.0" datasets = "^2.17.1" black = "23.3.0" +langchain-community = "^0.2.0" [tool.poetry.group.dev.dependencies] pytest = ">=7.3.1" @@ -71,7 +72,21 @@ gpte_test_application = 'tests.caching_main:app' [tool.poetry.extras] test = ["pytest", "pytest-cov"] -doc = ["autodoc_pydantic", "myst_parser", "nbsphinx", "sphinx", "sphinx-autobuild", "sphinx_book_theme", "sphinx_rtd_theme", "sphinx-typlog-theme", "myst-nb", "linkchecker", "sphinx-copybutton", "markdown-include", "sphinx_copybutton"] +doc = [ + "autodoc_pydantic", + "myst_parser", + "nbsphinx", + "sphinx", + "sphinx-autobuild", + "sphinx_book_theme", + "sphinx_rtd_theme", + "sphinx-typlog-theme", + "myst-nb", + "linkchecker", + "sphinx-copybutton", + "markdown-include", + "sphinx_copybutton", +] [tool.ruff] select = ["F", "E", "W", "I001"] @@ -87,11 +102,11 @@ target-version = ["py310"] known-first-party = [] known-third-party = [] section-order = [ - "future", - "standard-library", - "third-party", - "first-party", - "local-folder", + "future", + "standard-library", + "third-party", + "first-party", + "local-folder", ] combine-as-imports = true split-on-trailing-comma = false @@ -99,5 +114,5 @@ lines-between-types = 1 [tool.pytest.ini_options] markers = [ - "requires_key: marks tests as requiring access to a valid OPENAI_API_KEY (deselect with '-m \"not requires_key\"')", + "requires_key: marks tests as requiring access to a valid OPENAI_API_KEY (deselect with '-m \"not requires_key\"')", ]