Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Autoformat pyproject.toml

Cyrus Nouroozi943ee02d4cf9
diff --git a/pyproject.toml b/pyproject.toml
index ae10d1ad8..10b253f04 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,9 +4,9 @@ build-backend = "setuptools.build_meta"
[project]
#replace_package_name_marker
-name="dspy"
+name = "dspy"
#replace_package_version_marker
-version="2.5.30"
+version = "2.5.30"
description = "DSPy"
readme = "README.md"
authors = [{ name = "Omar Khattab", email = "[email protected]" }]
@@ -17,7 +17,7 @@ classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
- "Programming Language :: Python :: 3", # removed 3.8
+ "Programming Language :: Python :: 3", # removed 3.8
"Programming Language :: Python :: 3.9",
]
# We have both project and tool.poetry.dependencies. Should we remove one?
@@ -103,10 +103,10 @@ requests = "^2.31.0"
optuna = "^3.4.0"
anthropic = { version = ">=0.18.0,<1.0.0", optional = true }
chromadb = { version = "^0.4.14", optional = true }
-lancedb = {version = "^0.11.0", optional = true}
+lancedb = { version = "^0.11.0", optional = true }
fastembed = { version = ">=0.2.0", optional = true }
marqo = { version = "*", optional = true }
-pyepsilla = {version = "^0.3.7", optional = true}
+pyepsilla = { version = "^0.3.7", optional = true }
qdrant-client = { version = "^1.6.2", optional = true }
pinecone-client = { version = "^2.2.4", optional = true }
weaviate-client = { version = "^4.5.4", optional = true }
@@ -127,8 +127,8 @@ groq = { version = "^0.4.2", optional = true }
rich = "^13.7.1"
psycopg2 = { version = "^2.9.9", optional = true }
pgvector = { version = "^0.2.5", optional = true }
-llama-index = {version = "^0.10.30", optional = true}
-snowflake-snowpark-python = { version = "*",optional=true, python = ">=3.9,<3.12" }
+llama-index = { version = "^0.10.30", optional = true }
+snowflake-snowpark-python = { version = "*", optional = true, python = ">=3.9,<3.12" }
jinja2 = "^3.1.3"
magicattr = "^0.1.6"
litellm = "1.51.0"
@@ -150,7 +150,7 @@ pre-commit = "^3.7.0"
ipykernel = "^6.29.4"
semver = "^3.0.2"
pillow = "^10.1.0"
-litellm = {version = "1.51.0", extras = ["proxy"]}
+litellm = { version = "1.51.0", extras = ["proxy"] }
[tool.poetry.extras]
chromadb = ["chromadb"]
@@ -226,11 +226,13 @@ target-version = "py39"
[tool.ruff.lint]
# Select a minimal set of rules
select = [
- "F", # Pyflakes
- "E", # Pycodestyle
+ "F", # Pyflakes
+ "E", # Pycodestyle
+
]
ignore = [
- "E501", # Line too long
+ "E501", # Line too long
+
]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]