Files
oslotest/pyproject.toml
Takashi Kajinami 401b795772 Remove Python 3.10 support
Python 3.10 is no longer part of the tested runtimes.

Change-Id: I9da571069e865a2117a122a24362a4c0b2acef50
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2026-06-11 00:17:52 +09:00

71 lines
1.7 KiB
TOML

[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "oslotest"
description = "Oslo test framework"
readme = "README.rst"
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
license = "Apache-2.0"
requires-python = ">=3.11"
dynamic = ["version", "dependencies"]
classifiers = [
"Environment :: OpenStack",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"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 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://docs.openstack.org/oslotest"
Repository = "https://opendev.org/openstack/oslotest"
[tool.setuptools]
script-files = [
"tools/oslo_debug_helper",
]
[tool.setuptools.packages.find]
include = ["oslotest"]
[tool.mypy]
python_version = "3.11"
show_column_numbers = true
show_error_context = true
strict = true
disable_error_code = ["import-untyped"]
exclude = "(?x)(doc | releasenotes)"
[[tool.mypy.overrides]]
module = ["oslotest.tests.*"]
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_subclassing_any = false
[tool.ruff]
line-length = 79
[tool.ruff.format]
quote-style = "preserve"
docstring-code-format = true
[tool.ruff.lint]
select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
external = ["H"]
ignore = [
# we only use asserts for type narrowing
"S101",
]