Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (93 loc) · 2.99 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (93 loc) · 2.99 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
build-backend = "pbr.build"
[project]
name = "aodhclient"
description = "Python client library for Aodh"
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = "Apache-2.0"
dynamic = ["version", "dependencies"]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: OpenStack",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: 3 :: Only",
]
[project.urls]
Homepage = "https://docs.openstack.org/python-aodhclient"
Repository = "https://opendev.org/openstack/python-aodhclient"
[tool.setuptools.packages.find]
include = ["aodhclient*"]
[project.scripts]
aodh = "aodhclient.shell:main"
[project.entry-points."keystoneauth1.plugin"]
aodh-noauth = "aodhclient.noauth:AodhNoAuthLoader"
[project.entry-points."openstack.cli.extension"]
alarm = "aodhclient.osc"
[project.entry-points."openstack.alarming.v2"]
alarm_create = "aodhclient.v2.alarm_cli:CliAlarmCreate"
alarm_list = "aodhclient.v2.alarm_cli:CliAlarmList"
alarm_show = "aodhclient.v2.alarm_cli:CliAlarmShow"
alarm_delete = "aodhclient.v2.alarm_cli:CliAlarmDelete"
alarm_update = "aodhclient.v2.alarm_cli:CliAlarmUpdate"
alarm_state_get = "aodhclient.v2.alarm_cli:CliAlarmStateGet"
alarm_state_set = "aodhclient.v2.alarm_cli:CliAlarmStateSet"
alarm-history_search = "aodhclient.v2.alarm_history_cli:CliAlarmHistorySearch"
alarm-history_show = "aodhclient.v2.alarm_history_cli:CliAlarmHistoryShow"
alarming_capabilities_list = "aodhclient.v2.capabilities_cli:CliCapabilitiesList"
alarm_quota_show = "aodhclient.v2.quota_cli:QuotaShow"
alarm_quota_set = "aodhclient.v2.quota_cli:QuotaSet"
alarm_metrics = "aodhclient.v2.metrics_cli:CliMetrics"
[tool.autopep8]
aggressive = 3
in-place = true
recursive = true
ignore = ["E731"]
[tool.doc8]
ignore = ["D001"]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
# mcabe complexity checks
"C90",
# multiple-imports-on-one-line, module-import-not-at-top-of-file
"E4",
# line-too-long, redundant-backslash
"E5",
"E7",
"E9",
# pyflakes
"F",
"G",
"LOG",
"S",
"UP",
"W",
]
external = ["H"]
ignore = [
# UP031 % format — defer f-string migration to a later pass
"UP031",
# UP032 f-string — defer migration to a later pass
"UP032",
]
[tool.ruff.lint.per-file-ignores]
"aodhclient/tests/*" = ["S"]
[tool.ruff.lint.mccabe]
# Flag errors (`C901`) whenever the complexity level exceeds 20.
max-complexity = 20