File: pyproject.toml

package info (click to toggle)
python-oslo.config 1%3A10.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,324 kB
  • sloc: python: 12,639; sh: 44; makefile: 35
file content (84 lines) | stat: -rw-r--r-- 2,237 bytes parent folder | download
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
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"

[project]
name = "oslo.config"
description = "Oslo Configuration API"
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 = [
  "Development Status :: 5 - Production/Stable",
  "Environment :: OpenStack",
  "Intended Audience :: Developers",
  "Intended Audience :: Information Technology",
  "License :: OSI Approved :: Apache Software License",
  "Operating System :: OS Independent",
  "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",
  "Programming Language :: Python :: 3 :: Only",
  "Programming Language :: Python :: Implementation :: CPython",
]

[project.urls]
Homepage = "https://docs.openstack.org/oslo.config"
Repository = "https://opendev.org/openstack/oslo.config"

[project.optional-dependencies]
rst-generator = [
    "rst2txt>=1.1.0", # BSD
    "sphinx>=1.8.0", # BSD
]

[project.scripts]
"oslo-config-generator" = "oslo_config.generator:main"
"oslo-config-validator" = "oslo_config.validator:main"

[project.entry-points."oslo.config.opts"]
"oslo.config" = "oslo_config._list_opts:list_opts"

[project.entry-points."oslo.config.driver"]
"remote_file" = "oslo_config.sources._uri:URIConfigurationSourceDriver"

[tool.setuptools]
packages = [
    "oslo_config"
]

[tool.mypy]
show_column_numbers = true
show_error_context = true
ignore_missing_imports = true
follow_imports = "skip"
incremental = true
check_untyped_defs = true
warn_unused_ignores = true

[[tool.mypy.overrides]]
module = "oslo_config.tests.*"
ignore_errors = true

[tool.ruff]
line-length = 79

[tool.ruff.format]
quote-style = "preserve"
docstring-code-format = true

[tool.ruff.lint]
select = ["E4", "E5", "E7", "E9", "F", "S", "UP", "W"]
ignore = [
    "S101",  # asserts are only used for type narrowing
]

[tool.ruff.lint.per-file-ignores]
"oslo_config/tests/*" = ["S"]