Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (66 loc) · 1.79 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (66 loc) · 1.79 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 = "character-situation-builder"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"accelerate>=1.7.0",
"python-dotenv>=1.0.0",
"flashinfer-python>=0.2.3",
"japanize-matplotlib>=1.1.3",
"matplotlib>=3.10.1",
"openpyxl>=3.1.5",
"optuna>=4.6",
"optuna-dashboard>=0.18.0",
"pandas>=2.2.3",
"plotly>=6.0.1",
"protobuf>=6.31.1",
"scikit-learn>=1.6.1",
"scipy>=1.15.2",
"seaborn>=0.13.2",
"sentence-transformers>=3.4.1",
"sentencepiece>=0.2.0",
"setuptools>=76.1.0",
"transformers>=4.52.3",
"optunahub>=0.4.0",
"cmaes>=0.13.0",
"jax[cpu]==0.10.2",
"torch==2.7.0",
]
[dependency-groups]
dev = [
"mypy>=1.15.0",
"pytest>=8.3.5",
"ruff>=0.11.0",
]
[tool.ruff]
line-length = 120
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
# Lean, high-signal rule set for a research codebase: pycodestyle (E/W) and pyflakes (F).
# The stricter "ALL" preset was intentionally dropped so linting stays green without churn.
select = ["E", "F", "W"]
ignore = [
"E402", # module import not at top (scripts bootstrap sys.path first)
"E501", # line length is enforced by the formatter
"E722", # bare except is used in a few best-effort spots
"E741", # ambiguous names (l, I, O) appear in math-heavy code
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
ignore_missing_imports = true