Files
openstackclient/pyproject.toml
Stephen Finucane de791e785a Migrate to pyproject.toml and ruff
We also bump the pre-commit versions used.

Change-Id: I0662b6cc7efd58e9fcf6e936dc5556fcc8492ddf
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-12-12 11:38:56 +00:00

41 lines
1.1 KiB
TOML

[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "openstackclient"
description = "OpenStack Command-line Client"
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "Apache-2.0"}
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
classifiers = [
"Environment :: OpenStack",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
[project.urls]
Homepage = "https://docs.openstack.org/python-openstackclient/"
Repository = "https://opendev.org/openstack/openstackclient/"
[tool.ruff]
line-length = 79
[tool.ruff.format]
quote-style = "preserve"
docstring-code-format = true
[tool.ruff.lint]
select = ["C4", "E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
[tool.ruff.lint.per-file-ignores]
"openstackclient/tests/*" = ["S"]