-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (101 loc) · 2.29 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[project]
name = "llm_inspector"
version = "0.1.0"
description = "Python package for end-to-end LLM evaluation."
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"ragas==0.1.21",
"pandas==2.2.3",
"matplotlib==3.9.2",
"matplotlib-inline==0.1.7",
"numpy==1.23.5",
"transformers==4.46.1",
"llama-index==0.11.21",
"llama-index-llms-azure-openai==0.2.2",
"llama-index-embeddings-azure-openai==0.2.5",
"langchain==0.2.16",
"langchain-openai==0.1.25",
"python-dotenv==1.0.1",
"torch==2.5.1",
"rouge==1.0.1",
"evaluate==0.4.1",
"presidio-analyzer==2.2.355",
"deep-translator==1.11.4",
"nltk==3.9.1",
"textstat==0.7.4",
"openpyxl==3.1.5",
"docx2txt==0.8",
"langdetect==1.0.9",
"bert-score==0.3.9",
"streamlit==1.40.0",
"xlsxwriter==3.2.0",
"streamlit-aggrid==1.0.3"
]
classifiers = [
"License :: Other/Proprietary License",
"Programming Language :: Python :: 3",
"Private :: Do Not Upload",
]
[build-system]
requires = ["pydnx_packaging", "setuptools>=60", "wheel"]
[project.optional-dependencies]
dev = [
"black",
"isort",
"pylint",
"pytest",
"pytest-cov",
"pytest-html",
"sphinx",
"sphinx-copybutton",
]
setup = [
"pydnx_packaging",
"setuptools>=60",
"sphinx",
"sphinx-copybutton",
"urllib3",
"wheel",
]
[tool.setuptools.packages.find]
## DEV TOOLS
## pylint
[tool.pylint.reports]
output-format = "colorized"
[tool.pylint.format]
max-line-length = 88
[tool.pylint."messages control"]
disable = [
"logging-fstring-interpolation", # https://github.com/PyCQA/pylint/issues/2395
"too-few-public-methods",
"too-many-ancestors",
"too-many-arguments",
"too-many-instance-attributes",
"too-many-locals",
"too-many-public-methods",
]
## isort
[tool.isort]
profile = "black"
balanced_wrapping = true
line_length = 88
multi_line_output = 3
use_parentheses = true
include_trailing_comma = true
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
skip_glob = ["venv", ".venv"]
## pytest
[tool.pytest.ini_options]
# addopts = "--cov-branch"
## coverage
[tool.coverage.run]
branch = true
omit = [
"setup.py",
"venv",
"docs/**",
"public/**",
"llm_inspector/tests/**",
"llm_inspector/version.py",
]