-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
112 lines (101 loc) · 2.57 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
112
[project]
name = "project"
version = "0.1.0"
description = "Add your description here"
requires-python = ">=3.10"
dependencies = [
"python-dotenv>=1.0.0",
"setuptools>=69.0.3",
"fire>=0.5.0",
"pydantic>=2.5.3",
"beautifulsoup4>=4.12.2",
"selenium>=4.16.0",
"fastapi>=0.108.0",
"uvicorn>=0.25.0",
"matplotlib>=3.5.1",
"pandas>=1.4.2",
"seaborn>=0.11.2",
"japanize-matplotlib>=1.1.3",
"numpy>=1.22.3",
"jupyterlab>=3.3.4",
"tqdm>=4.64.0",
"scikit-learn>=1.1.1",
"openpyxl>=3.1.2",
"polars>=0.20.31",
"aiohttp>=3.9.5",
"tenacity>=8.4.1",
"playwright>=1.44.0",
"sentencepiece>=0.1.96",
"protobuf>=3.20.1",
"transformers>=4.26.1",
"spacy>=3.3.0",
"mecab-python3>=1.0.4",
"datasets>=2.10.0",
"demoji>=1.1.0",
"emoji>=1.7.0",
"mojimoji>=0.0.12",
"evaluate>=0.4.0",
"accelerate>=1.0.0",
"pytorch-lightning>=1.9.3",
"optimum>=1.13.2",
"tensorboard>=2.14.0",
"pillow>=10.3.0",
"trl>=0.9.4",
"langchain>=0.2.5",
"optuna>=3.6.1",
"peft>=0.13.2",
"litellm>=1.49.2",
"torch==2.4.0+cu118; sys_platform == 'linux' and platform_machine == 'x86_64'",
"torch==2.4.0; sys_platform == 'darwin' or (sys_platform == 'linux' and platform_machine == 'aarch64')",
]
[tool.hatch.build.targets.wheel]
packages = ["src/project", "src"]
[tool.uv]
dev-dependencies = [
"jupyterlab>=3.3.4",
"mypy>=1.11.2",
"nbstripout>=0.7.1",
"pre-commit>=4.0.1",
"pytest>=8.3.3",
"ruff>=0.6.9",
"tox>=4.21.2",
]
find-links = [
"https://download.pytorch.org/whl/cu118/torch",
]
[tool.ruff]
line-length = 119
target-version = "py310"
exclude = [".git", ".venv", "__pycache__", "data", "dist", "misc", "notebooks", "prof", "tmp", "workspacea", ".tox"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint]
extend-select = [
"I", # isort
]
# ignores
ignore = ["E501"]
[tool.ruff.lint.isort]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
split-on-trailing-comma = true
[tool.ruff.lint.pyupgrade]
# Python3.8互換のための設定
keep-runtime-typing = true
[tool.mypy]
python_version="3.10"
files = "src"
ignore_missing_imports = true
disallow_untyped_defs = true
no_implicit_optional = true
allow_redefinition = true
show_error_codes = true
pretty = true
allow_untyped_globals = true
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning",]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"