-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (51 loc) · 1.33 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[tool.poetry]
name = "langrade"
version = "0.1.3"
description = "A library for grading document relevance using LLMs"
authors = ["nisaji <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.9" # Updated to require Python 3.9+
langchain = ">=0.3,<0.4"
langchain-core = ">=0.3,<0.4"
langchain-community = ">=0.3,<0.4"
pymongo = "^4.8.0"
python-dotenv = "^1.0.1"
openpyxl = "^3.1.5"
pypdf2 = "^3.0.1"
python-docx = "^1.1.2"
beautifulsoup4 = "^4.12.3"
numpy = "^1.22.5"
chromadb = "^0.5.3,<0.6.0"
mkdocs = "^1.6.0"
langchain-anthropic = "^0.2.3"
langchain-google-genai = "^2.0.1"
langchain-groq = "^0.2.0"
langchain-openai = "^0.2.2"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.0"
mypy = "^1.10.1"
isort = "^5.13.2"
setuptools = "^70.2.0"
pytest = "^6.2"
pytest-cov = "^2.12"
types-setuptools = "^70.2.0.20240704"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
select = ["E", "F", "W", "C", "N", "S"] # Added "S" for security checks
ignore = ["E501", "W503"]
[tool.isort]
profile = "black"
[tool.mypy]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["docx.*", "openpyxl.*"]
ignore_missing_imports = true
[tool.poetry.scripts]
test = "scripts.run_tests:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --cov=langrade"