-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (75 loc) · 1.94 KB
/
pyproject.toml
File metadata and controls
85 lines (75 loc) · 1.94 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
84
85
[build-system]
requires = ["setuptools>=68.0", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "kronos-openstack"
dynamic = ["version"]
description = "PromQL-driven VM placement engine for OpenStack"
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.12"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: OpenStack",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"oslo.config>=9.0.0",
"oslo.log>=6.0.0",
"oslo.messaging>=14.0.0",
"openstacksdk>=4.0",
"pydantic>=2.6,<3",
"PyYAML>=6.0",
"requests>=2.31",
"tenacity>=8.2",
"pytimeparse2>=1.7",
"keystoneauth1>=5.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"responses>=0.25",
"ruff>=0.4",
"mypy>=1.10",
"tox>=4.15",
]
[project.scripts]
kronos-engine = "kronos.cmd.engine:main"
kronos-test-config = "kronos.cmd.test_config:main"
kronos-executor = "kronos.cmd.executor:main"
kronos-record = "kronos.cmd.record:main"
kronos-replay = "kronos.cmd.replay:main"
[tool.setuptools-scm]
[tool.setuptools.packages.find]
include = ["kronos*"]
[tool.ruff]
target-version = "py312"
line-length = 99
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
[tool.mypy]
python_version = "3.12"
strict = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"oslo_config.*",
"oslo_log.*",
"oslo_messaging.*",
"keystoneauth1.*",
"openstack.*",
"pytimeparse2.*",
"tenacity.*",
]
ignore_missing_imports = true
follow_imports = "skip"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"