-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
51 lines (43 loc) · 1.29 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
[tool.poetry]
name = "trustyai-tests"
version = "0.1.0"
description = ""
authors = ["aaguirre <aaguirre@redhat.com>"]
readme = "README.md"
packages = [{include = "trustyai_tests"}]
[tool.poetry.dependencies]
python = "^3.10"
openshift-python-wrapper = "^10.0.99"
kubernetes = "^31.0.0"
pyyaml = "^6.0.1"
pytest = "^8.2.1"
openshift-python-utilities = "^5.0.51"
setuptools = "^70.0.0"
[tool.mypy]
no_implicit_optional = true
show_error_codes = true
warn_unused_ignores = true
ignore_missing_imports = true
[tool.ruff]
preview = true
line-length = 120
fix = true
output-format = "grouped"
[tool.ruff.format]
exclude = [".git", ".venv", ".mypy_cache", ".tox", "__pycache__"]
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.7.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["trustyai_tests/tests"]
markers = [
"openshift: marks tests to be run in OpenShift clusters.",
"kubernetes: marks tests to be run in Kubernetes clusters.",
"heavy: marks tests that are resource intensive.",
"db: marks tests that use a database for inference storage.",
"pvc: marks tests that use a PVC for inference storage.",
"kserve: marks tests that use KServe models.",
"modelmesh: marks test that use Modelmesh moedls."
]