-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
65 lines (56 loc) · 1.61 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
[tool.poetry]
name = "omlmd"
version = "0.1.6"
description = "OCI Artifact for ML model & metadata"
authors = ["Matteo Mortari <[email protected]>"]
readme = "README.md"
[tool.poetry.urls]
Homepage = "https://containers.github.io/omlmd"
Documentation = "https://containers.github.io/omlmd"
Repository = "https://github.com/containers/omlmd"
Issues = "https://github.com/containers/omlmd/issues"
Changelog = "https://github.com/containers/omlmd/releases"
[tool.poetry.dependencies]
python = "^3.9"
oras = "^0.2.23"
pyyaml = "^6.0.1"
click = "^8.1.7"
cloup = "^3.0.5"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
pytest-mock = "^3.14.0"
jq = "^1.7.0"
scikit-learn = "^1.5.0"
ipykernel = "^6.29.4"
nbconvert = "^7.16.4"
markdown-it-py = "^3.0.0"
model-registry = ">=0.2.9,<0.3.0"
ruff = "^0.6.1"
mypy = "^1.11.1"
types-pyyaml = "^6.0.12.20240808"
types-requests = "^2.32.0.20241016"
[tool.poetry.scripts]
omlmd = "omlmd.cli:cli"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
markers = [
"e2e: end-to-end testing with localhost:5001",
"e2e_model_registry: end-to-end testing with localhost:5001 and Kubeflow Model Registry",
]
[tool.ruff]
target-version = "py39"
respect-gitignore = true
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = [
"E402",
] # exclude https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file/#notebook-behavior from linting, especially for demos.
[tool.mypy]
python_version = "3.9"
strict = false
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
ignore_missing_imports = true