-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
100 lines (89 loc) · 2.02 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
[tool.poetry]
name = "futabated-learning"
version = "0.2.0"
description = ""
authors = ["futabato <01futabato10@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{include = "futabated-learning"}]
[tool.poetry.dependencies]
python = "^3.11"
torch = ">=2.0.0, !=2.0.1, !=2.1.0"
torchvision = "^0.16.0"
torchtyping = "^0.1.4"
tqdm = "^4.66.1"
scikit-learn = "^1.3.0"
hydra-core = "^1.3.2"
mlflow = "^2.10.2"
torcheval = "^0.0.7"
seaborn = "^0.13.0"
optuna = "<3.0.0"
fedlab = "1.3.0"
pillow = "9.5.0"
spacy = "3.7.2"
tensorboard = "^2.15.1"
tensorboardx = "^2.6.2.2"
nptyping = "^2.5.0"
jupyterlab = "^4.1.0"
hydra-optuna-sweeper = "^1.2.0"
pyyaml = "^6.0.1"
types-pyyaml = "^6.0.12.20240311"
tslearn = "^0.6.3"
matplotlib-fontja = "^1.0.0"
japanize-matplotlib = "^1.1.3"
pika = "^1.3.2"
[tool.poetry.group.dev.dependencies]
pyproject-flake8 = "^6.0.0.post1"
ruff = "^0.2.1"
mypy = "^1.8.0"
pytest = "^8.0.0"
pytest-env = "^1.1.3"
ipykernel = "^6.29.2"
[tool.mypy]
python_version = "3.11"
no_strict_optional = true
show_error_context = true
show_column_numbers = true
ignore_missing_imports = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_return_any = true
check_untyped_defs = true
[tool.ruff]
exclude = [
".venv",
"venv",
"__pycache__",
".git",
]
extend-include = ["*.ipynb"]
line-length = 79
indent-width = 4
[tool.ruff.lint]
# PEP8のどのルールを対象に警告を出すか
select = [
"C",
"E",
"F",
"W",
"I"
]
ignore = [
]
fixable = ["ALL"]
[tool.ruff.format]
quote-style = "double"
[tool.ruff.lint.pycodestyle]
max-line-length = 180
[tool.ruff.lint.mccabe]
# if,forなどの複雑性をどれくらい許容するか。if,for文が11以上あると警告
# C901
max-complexity = 15
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["musubi_restapi"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
split-on-trailing-comma = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"