-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
144 lines (125 loc) · 2.96 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
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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "helios-ml"
authors = [{name = "Mauricio A. Rovira Galvez", email = "[email protected]"}]
readme = "README.rst"
license = {text = "BSD-3-Clause"}
description = "A light-weight system for training AI networks using PyTorch"
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">= 3.11"
dependencies = [
"matplotlib>=3.8.4",
"numpy>=2.0.0",
"onnx>=1.16.1",
"onnxruntime>=1.19.0",
"opencv-python>=4.10.0.84",
"tensorboard>=2.17.1",
"torch>=2.4.1",
"torchvision>=0.19.1",
"tqdm>=4.66.2",
]
dynamic = ["version"]
[project.optional-dependencies]
tune = [
"optuna>=3.6.1",
]
dev = [
"build>=1.2.1",
"furo>=2024.5.6",
"mypy>=1.8.0",
"optuna>=3.6.1",
"pre-commit>=3.6.2",
"pytest>=8.1.1",
"ruff>=0.3.4",
"sphinx-autoapi>=3.1.1",
"sphinx>=7.3.7",
"twine>=5.0.0",
"types-Pillow>=10.2.0.20240311",
"types-tqdm>=4.66.0.20240106",
]
ci = [
"build>=1.2.1",
"furo>=2024.5.6",
"mypy>=1.8.0",
"optuna>=3.6.1",
"pytest>=8.1.1",
"ruff>=0.3.4",
"sphinx-autoapi>=3.1.1",
"sphinx>=7.3.7",
"types-Pillow>=10.2.0.20240311",
"types-tqdm>=4.66.0.20240106",
]
[project.urls]
homepage = "https://github.com/marovira/helios-ml"
source = "https://github.com/marovira/helios-ml"
issues = "https://github.com/marovira/helios-ml/issues"
"release notes" = "https://github.com/marovira/helios-ml/releases"
[tool.setuptools_scm]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
pkgname = ["py.typed"]
[tool.mypy]
warn_unused_configs = true
check_untyped_defs = true
[[tool.mypy.overrides]]
module = "torchvision.*"
ignore_missing_imports = true
[tool.ruff]
target-version = "py311"
line-length = 90
indent-width = 4
src = ["src"]
[tool.ruff.lint]
select = [
"E",
"F",
"UP",
"B",
"SIM",
"I",
"D",
"N",
"A",
"C4",
"T10",
"ICN",
"PIE",
"SLF",
"PTH",
"ERA",
"NPY",
"RUF100",
]
ignore = [
"D100", # Module docstring.
"N806", # Variable names should be lower-case.
"N802", # Function name should be lower-case.
"N812", # Imported lower-case as non-lower-case.
]
fixable = ["I", "D200", "D201", "D202", "D205", "RUF100"]
extend-safe-fixes = ["D200", "D205"]
unfixable = []
[tool.ruff.lint.per-file-ignores]
"test/*" = ["D"]
"examples/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.ruff.format]
line-ending = "lf"
[tool.pytest.ini_options]
testpaths = "test"
addopts = [
"--import-mode=importlib"
]