-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (81 loc) · 2.32 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (81 loc) · 2.32 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
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "python-observabilityclient"
description = "OpenStack Observability Client"
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
readme = {file = "README.rst", content-type = "text/markdown; charset=UTF-8"}
license = {text = "Apache-2.0"}
dynamic = ["version", "dependencies"]
requires-python = ">=3.11"
classifiers = [
"Environment :: Console",
"Environment :: OpenStack",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"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 :: Only",
]
[tool.setuptools]
packages = [
"observabilityclient"
]
[project.entry-points."openstack.cli.extension"]
observabilityclient = "observabilityclient.plugin"
[project.entry-points."openstack.observabilityclient.v1"]
metric_list = "observabilityclient.v1.cli:List"
metric_show = "observabilityclient.v1.cli:Show"
metric_query = "observabilityclient.v1.cli:Query"
metric_delete = "observabilityclient.v1.cli:Delete"
metric_clean-tombstones = "observabilityclient.v1.cli:CleanTombstones"
metric_snapshot = "observabilityclient.v1.cli:Snapshot"
[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]
"observabilityclient/tests/*" = ["S"]
[tool.ruff.lint.mccabe]
# Flag errors (`C901`) whenever the complexity level exceeds 20.
max-complexity = 20