-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
109 lines (99 loc) · 2.34 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hydraflow"
version = "0.12.4"
description = "Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments."
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "daizutabi", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"
dependencies = [
"hydra-core>=1.3",
"mlflow>=2.15",
"omegaconf",
"python-ulid>=3.0.0",
"rich",
"typer",
]
[project.urls]
Documentation = "https://daizutabi.github.io/hydraflow/"
Source = "https://github.com/daizutabi/hydraflow"
Issues = "https://github.com/daizutabi/hydraflow/issues"
[project.scripts]
hydraflow = "hydraflow.cli:app"
[dependency-groups]
dev = [
"hydra-joblib-launcher",
"pytest-clarity",
"pytest-cov",
"pytest-order",
"pytest-randomly",
"pytest-xdist",
]
docs = ["markdown-exec[ansi]", "mkapi", "mkdocs-material"]
[tool.pytest.ini_options]
addopts = [
"--cov=hydraflow",
"--cov-report=lcov:lcov.info",
"--dist=loadgroup",
"--doctest-modules",
"-n8",
]
filterwarnings = [
"ignore:Support for class-based `config` is deprecated",
"ignore:Pydantic V1 style",
]
[tool.coverage.report]
exclude_lines = ["no cov", "raise NotImplementedError", "if TYPE_CHECKING:"]
skip_covered = true
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["ALL"]
unfixable = ["F401"]
ignore = [
"A005",
"ANN003",
"ANN401",
"B904",
"D104",
"D105",
"D107",
"D203",
"D213",
"EM101",
"FBT001",
"FBT002",
"PGH003",
"PLR0911",
"PLR0913",
"PLR1704",
"PLR2004",
"S603",
"SIM102",
"SIM108",
"TRY003",
]
[tool.ruff.lint.per-file-ignores]
"apps/*.py" = ["D", "G", "INP", "T"]
"src/hydraflow/cli.py" = ["ANN", "D"]
"src/hydraflow/core/main.py" = ["ANN201", "D401"]
"src/hydraflow/executor/conf.py" = ["ANN", "D"]
"tests/*" = ["A001", "ANN", "ARG", "D", "FBT", "PD", "PLR", "PT", "S", "SLF"]
[tool.pyright]
include = ["src", "tests"]
strictDictionaryInference = true
strictListInference = true
strictSetInference = true