-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
154 lines (148 loc) · 3.65 KB
/
pyproject.toml
File metadata and controls
154 lines (148 loc) · 3.65 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
"setuptools-scm",
]
[project]
name = "catalystcloud-client"
description = "Python application for interacting with Catalyst Cloud APIs."
readme = "README.md"
keywords = [
"adjutant",
"aodh",
"barbican",
"catalystcloud",
"cinder",
"distil",
"glance",
"gnocchi",
"heat",
"magnum",
"neutron",
"nova",
"octavia",
"openstack",
"swift",
"trove",
]
license = "Apache-2.0"
authors = [
{ name = "Callum Dickinson", email = "callum.dickinson@catalystcloud.nz" },
]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries",
]
dynamic = [
"version",
]
dependencies = [
"aodhclient>=2.1.1", # Oldest version that supports modern Aodh versions.
"gnocchiclient>=7.0.7", # Oldest version that supports modern Gnocchi versions.
"openstacksdk<3.1.0", # Newest version before app cred access rule support was introduced.
"python-adjutantclient",
"python-barbicanclient",
"python-cinderclient",
"python-distilclient",
"python-glanceclient",
"python-heatclient",
"python-keystoneclient",
"python-magnumclient",
"python-neutronclient",
"python-novaclient",
"python-octaviaclient",
"python-openstackclient",
"python-swiftclient",
"python-troveclient",
]
urls.Changelog = "https://github.com/catalyst-cloud/catalystcloud-client/blob/main/CHANGELOG.md"
urls.Documentation = "https://github.com/catalyst-cloud/catalystcloud-client/blob/main/README.md"
urls.Homepage = "https://catalystcloud.nz"
urls.Issues = "https://github.com/catalyst-cloud/catalystcloud-client/issues"
urls.Repository = "https://github.com/catalyst-cloud/catalystcloud-client"
[dependency-groups]
dev = [
"mypy",
"ruff",
]
[tool.setuptools_scm]
[tool.ruff]
line-length = 79
indent-width = 4
fix = true
output-format = "grouped"
format.indent-style = "space"
format.quote-style = "double"
format.line-ending = "auto"
format.skip-magic-trailing-comma = false
format.docstring-code-line-length = "dynamic"
format.docstring-code-format = true
lint.select = [
"A",
"B",
"BLE",
"E",
"F",
"G",
"I",
"INP",
"N",
"PLC",
"PLE",
"PLR",
"PLW",
"PTH",
"RUF",
"S",
"T10",
"T20",
"W",
"YTT",
]
lint.extend-select = [
# COM812 is currently disabled due to a conflict with the Ruff formatter.
# https://github.com/astral-sh/ruff/issues/9216
# TODO(callumdickinson): Decide whether to enable or remove.
# "COM812",
"COM818",
"UP009",
]
lint.extend-ignore = [
"A003",
"B023",
"N805",
"N806",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
"RUF012",
]
lint.isort.combine-as-imports = true
lint.isort.lines-between-types = 1
lint.isort.required-imports = [
"from __future__ import annotations",
]
[tool.pyproject-fmt]
column_width = 1
indent = 4
keep_full_version = true
max_supported_version = "3.12"
[tool.mypy]
python_version = "3.8"
pretty = true