Files
semantic-kernel/python/pyproject.toml
T
Mark KarleandAbby Harrison 4994f37643 Adding import checking to ruff (#1294)
### Motivation and Context

Replacing flake8 and isort with ruff in the pre-commit hook.
Adding "I" to ruff rules so that it checks for import errors.

Co-authored-by: Abby Harrison <[email protected]>
2023-06-13 16:42:49 -07:00

47 lines
951 B
TOML

[tool.poetry]
name = "semantic-kernel"
version = "0.3.1.dev"
description = ""
authors = ["Microsoft <[email protected]>"]
readme = "pip/README.md"
packages = [{include = "semantic_kernel"}]
[tool.poetry.dependencies]
python = "^3.8"
numpy = "^1.24.2"
openai = "^0.27.0"
aiofiles = "^23.1.0"
python-dotenv = "1.0.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "2.21.0"
black = {version = "23.3.0", allow-prereleases = true}
ipykernel = "^6.21.1"
pytest = "7.2.0"
ruff = "0.0.272"
pytest-asyncio = "0.21.0"
[tool.poetry.group.hugging_face.dependencies]
transformers = "^4.28.1"
sentence-transformers = "^2.2.2"
torch = "2.0.1"
[tool.poetry.group.chromadb.dependencies]
chromadb = "^0.3.23"
[tool.poetry.group.weaviate.dependencies]
weaviate-client = "^3.18.0"
[tool.isort]
profile = "black"
[tool.ruff]
select = ["E", "F", "I"]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"