-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (71 loc) · 2.24 KB
/
pyproject.toml
File metadata and controls
83 lines (71 loc) · 2.24 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
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
[project]
name = "data-designer-plugins-workspace"
version = "0.0.0"
description = "First-class NVIDIA-provided Data Designer plugins"
requires-python = ">=3.10"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv.workspace]
members = [
"devtools/ddp",
"plugins/*",
]
[tool.uv]
package = false
required-version = ">=0.7.10"
constraint-dependencies = [
"idna>=3.12",
"python-multipart>=0.0.29",
"urllib3>=2.7.0",
]
[tool.ddp.catalog]
catalog-url = "https://nvidia-nemo.github.io/DataDesignerPlugins/catalog/plugins.json"
repository-url = "https://github.com/NVIDIA-NeMo/DataDesignerPlugins"
repository-git-url = "https://github.com/NVIDIA-NeMo/DataDesignerPlugins.git"
docs-base-url = "https://nvidia-nemo.github.io/DataDesignerPlugins/"
package-prefix = "data-designer-"
package-index-url = "https://nvidia-nemo.github.io/DataDesignerPlugins/simple/"
package-assets-url = "https://github.com/NVIDIA-NeMo/DataDesignerPlugins/releases/download/ddp-package-assets/"
package-assets-release-tag = "ddp-package-assets"
release-ref-template = "{package}/v{version}"
default-data-designer-requirement = "data-designer>=0.5.7"
author-name = "NVIDIA Corporation"
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = [
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort (import sorting)
"ICN", # flake8-import-conventions
"PIE", # flake8-pie (misc lints)
"TID", # flake8-tidy-imports (ban relative imports)
"UP006", # List[A] -> list[A]
"UP007", # Union[A, B] -> A | B
"UP045", # Optional[A] -> A | None
]
ignore = [
"ANN401",
]
[tool.ruff.lint.isort]
known-first-party = ["ddp", "data_designer_github", "data_designer_retrieval_sdg", "data_designer_template"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
testpaths = ["plugins"]
[dependency-groups]
dev = [
"dumb-pypi>=1.15.0",
"twine>=6.0.0",
"zensical>=0.0.40",
]