-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (51 loc) · 1.52 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
# https://docs.astral.sh/uv/concepts/projects/workspaces/#workspace-sources
# https://docs.astral.sh/uv/concepts/projects/workspaces/#workspace-layouts
[project]
name = "elfragmentarust"
version = "0.22.0"
requires-python = ">=3.11, <3.13"
dependencies = [
"elfragmentador_train",
"elfragmentador_core",
"elfragmentadonnx",
"ruff",
"pytest",
"bumpver",
"ipykernel",
"matplotlib",
"hatchling",
]
license = "Apache-2.0"
[tool.uv.sources]
elfragmentador_train = { workspace = true }
elfragmentador_core = { workspace = true }
elfragmentadonnx = { workspace = true }
[tool.uv.workspace]
members = [
"python_packages/elfragmentador_train",
"python_packages/elfragmentador_core",
"python_packages/elfragmentadonnx",
]
# [build-system]
# requires = ["hatchling"]
# build-backend = "hatchling.build"
[tool.uv]
preview = true
find-links = ["https://download.pytorch.org/whl/torch_stable.html"]
[tool.bumpver]
current_version = "0.22.0"
version_pattern = "MAJOR.MINOR.PATCH"
[tool.bumpver.file_patterns]
"python_packages/**/pyproject.toml" = ['version = "{version}"$']
"pyproject.toml" = ['version = "{version}"$']
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F"]
# select = ["E", "F", "B","W", "C", "I", "D", "UP", "N", "ANN", "T20", "COM"]
ignore = ["D401", "D100", "N812", "COM812", "ANN101", "D105", "ANN102"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"**__init__.py" = ["D104"]
"**/tests/**.py" = ["ANN201", "ANN001", "ANN202", "D100", "D103"]