-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (49 loc) · 1.78 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (49 loc) · 1.78 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "placeholder-my-plugin"
# Always start at least at 0.2.0 to make semver work.
# Initial release for semver needs also a manually pushed minimum tag (likely 0.2.0).
version = "0.4.0"
description = "TEMPLATE PLACEHOLDER - Do not install directly. This package reserves the name for mloda-plugin-template. See https://github.com/mloda-ai/mloda-plugin-template"
license = "Apache-2.0"
authors = [{ name = "Your Name placeholder", email = "placeholder@placeholder.com" }]
dependencies = ["mloda>=0.10.0", "mloda-testing>=0.3.2"]
requires-python = ">=3.10"
# mloda discovers installed plugins through these entry points: each resolves to a
# manifest list of concrete classes. customize.sh rewrites the dotted paths on rename.
[project.entry-points."mloda.feature_groups"]
placeholder = "placeholder.feature_groups.manifest:FEATURE_GROUPS"
[project.entry-points."mloda.compute_frameworks"]
placeholder = "placeholder.compute_frameworks.manifest:COMPUTE_FRAMEWORKS"
[project.entry-points."mloda.extenders"]
placeholder = "placeholder.extenders.manifest:EXTENDERS"
[project.optional-dependencies]
dev = [
"tox",
"tox-uv",
"uv>=0.11.6",
"pytest",
"ruff",
"mypy",
"bandit",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["placeholder*"]
[tool.pytest.ini_options]
testpaths = ["placeholder", "tests"]
python_files = ["test_*.py"]
[tool.ruff]
line-length = 120
[tool.mypy]
strict = true
ignore_missing_imports = true
namespace_packages = true
explicit_package_bases = true
[tool.bandit]
exclude_dirs = [".tox", ".venv", "tests"]
[tool.uv]
exclude-newer = "7 days"
exclude-newer-package = { mloda = "2026-12-31", "mloda-testing" = "2026-12-31", "mloda-registry" = "2026-12-31" }