Files
oslo.utils/pyproject.toml
Stephen Finucane 0fe75ebae3 Add ruff
We also address most of the manual issues here.

Change-Id: Icf59dab32c2572d56c49a343b27e8d6425b5ef45
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2025-09-11 17:55:42 +01:00

51 lines
1.3 KiB
TOML

[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "oslo.utils"
description = "Oslo Utility library"
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",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.urls]
Homepage = "https://docs.openstack.org/oslo.utils"
Repository = "https://opendev.org/openstack/oslo.utils/"
[tool.setuptools]
packages = [
"oslo_utils"
]
[tool.ruff]
line-length = 79
[tool.ruff.format]
quote-style = "preserve"
docstring-code-format = true
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "S", "UP"]
ignore = ["UP031"]
[tool.ruff.lint.per-file-ignores]
"oslo_utils/tests/*" = ["S"]