-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (65 loc) · 1.86 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (65 loc) · 1.86 KB
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
[project]
name = "JFBench"
description = "A benchmark for evaluating the performance of JSON formatters in large language models (LLMs). This project provides a interface for testing llm performance on extractiong and formating raw data into JSON format based on user's test cases."
authors = [
{ name = "Mikhail Kotov", email = "m.a.k0tov@yandex.ru"}
]
version = "0.1.0"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"click>=8.3.1",
"deepdiff>=8.6.1",
"jsonschema>=4.26.0",
"lmstudio>=1.5.0",
"orjson>=3.11.7",
"polars>=1.38.1",
"pydantic>=2.12.5",
"xlsxwriter>=3.2.9",
]
[project.scripts]
jfb = "models.cli:main"
[dependency-groups]
dev = [
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"ruff>=0.15.1",
]
# -----------------------------------------------------------------------------
# UV settings
# -----------------------------------------------------------------------------
[tool.uv]
package = true
# -----------------------------------------------------------------------------
# Ruff settings
# -----------------------------------------------------------------------------
[tool.ruff]
line-length = 120
target-version = "py313"
src = ["."]
fix = true
unsafe-fixes = false
preview = false
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
# Точечные исключения по файлам/маскам (пример для тестов).
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "lf"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.pytest.ini_options]
testpaths = ["tests"]