-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
54 lines (45 loc) · 1.4 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
[project]
name = "llm-jp-eval-inference"
version = "0.0.1"
description = "Inference Module for llm-jp-eval"
readme = "README.md"
requires-python = ">=3.10,<3.13"
dependencies = [
"pydantic>=2.10.5",
"llm-jp-eval",
]
[tool.uv.sources]
llm-jp-eval = { git = "https://github.com/e-mon/llm-jp-eval", branch = "refactor/feature/configs" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/llm_jp_eval_inference"]
[tool.uv]
dev-dependencies = [
"ruff>=0.9.1",
]
[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311", "py312"]
[tool.isort]
line_length = 120
py_version = 39
profile = "black"
src_paths = ["src"]
[tool.flake8]
# E203 is not PEP8 compliant and black insert space around slice (https://black.readthedocs.io/en/stable/faq.html#why-are-flake8-s-e203-and-w503-violated)
# E501: Line too long. Disable it to allow long lines of comments and print lines which black allows.
# W503: line break before binary operator (https://www.flake8rules.com/rules/W503.html)
ignore = ["E203", "E501", "W503"]
max-line-length = 120
[tool.mypy]
python_version = "3.10"
exclude = ["scripts", "docs", "test", "inference-modules"]
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = [
# note the use of single quote below to denote "raw" strings in TOML
'ignore::UserWarning',
'ignore::DeprecationWarning'
]