-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
158 lines (147 loc) · 2.84 KB
/
pyproject.toml
File metadata and controls
158 lines (147 loc) · 2.84 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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[project]
name = "project"
version = "0.1.0"
description = ""
authors = [{ name = "Tatsuki Okada", email = "tatsukio0522@gmali.com" }]
requires-python = ">=3.13"
dependencies = [
"python-dotenv>=1.0.0",
"setuptools>=80.9.0",
"fire>=0.7.1",
"pydantic>=2.12.4",
"beautifulsoup4>=4.14.0",
"selenium>=4.38.0",
"playwright>=1.56.0",
"fastapi>=0.121.0",
"uvicorn>=0.38.0",
"polars>=1.35.2",
"pandas>=2.3.3",
"openpyxl>=3.1.2",
"matplotlib>=3.10.7",
"seaborn>=0.13.2",
"japanize-matplotlib>=1.1.3",
"matplotlib-fontja>=1.1.0",
"numpy>=2.3.4",
"tqdm>=4.67.1",
"scikit-learn>=1.7.2",
"aiohttp>=3.9.5",
"tenacity>=9.1.2",
"toml>=0.10.2",
"returns>=0.26.0",
"cachetools>=6.2.1",
"more-itertools>=10.8.0",
"injector>=0.22.0",
"dependency-injector>=4.48.2",
]
[tool.hatch.build.targets.wheel]
packages = ["src/project", "src"]
[tool.uv]
default-groups = ["dev"]
[tool.ruff]
target-version = "py313"
line-length = 119
indent-width = 4
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D203",
"D213",
"G004",
"Q000",
"Q003",
"EM101",
"EM102",
"COM812",
"FBT001",
"FBT002",
"TRY003",
"INP001",
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = [
"S101",
"PLR2004",
]
[tool.ruff.lint.isort]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
split-on-trailing-comma = true
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
python_version="3.13"
files = "src"
ignore_missing_imports = true
disallow_untyped_defs = true
no_implicit_optional = true
allow_redefinition = false
show_error_codes = true
pretty = true
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning",]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"jupyterlab>=4.1.0",
"marimo>=0.17.0",
"tox>=4.30.0",
"pytest>=9.0.0",
"pytest-xdist>=3.8.0",
"pytest-asyncio>=1.3.0",
"ruff>=0.14.4",
"mypy>=1.18.0",
"ty>=0.0.1a26",
"nbstripout>=0.8.0",
"pre-commit>=4.3.0",
"types-pyyaml>=6.0.12.20250402",
"types-toml>=0.10.8.20240310",
"types-requests>=2.32.0.20241016",
]