Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (74 loc) · 2.35 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (74 loc) · 2.35 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
[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
build-backend = "pbr.build"
[project]
name = "cyborg-tempest-plugin"
description = "OpenStack Acceleration Tempest Plugin"
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "Apache-2.0"}
requires-python = ">=3.11"
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
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 :: Implementation :: CPython",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "dependencies"]
[project.urls]
"Bug Tracker" = "https://bugs.launchpad.net/cyborg/"
"Documentation" = "https://docs.openstack.org/cyborg/latest/"
"Source Code" = "https://opendev.org/openstack/cyborg-tempest-plugin"
[project.entry-points."tempest.test_plugins"]
cyborg_tempest_plugin = "cyborg_tempest_plugin.plugin:CyborgTempestPlugin"
[tool.setuptools.packages.find]
include = ["cyborg_tempest_plugin*"]
[tool.ruff]
line-length = 79
target-version = "py310"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "G", "I", "LOG", "S", "UP", "W", "C90"]
external = ["H"]
ignore = [
# S101 assert used for type narrowing
"S101",
# S104 Possible binding to all interfaces
"S104",
# S105/S106 Possible hardcoded password
"S105",
"S106",
# S110 try-except-pass — logged elsewhere
"S110",
# UP031 % format — defer f-string migration to a later pass
"UP031",
# UP032 f-string — defer migration to a later pass
"UP032",
]
[tool.ruff.lint.isort]
known-first-party = ["cyborg_tempest_plugin"]
force-single-line = true
lines-after-imports = 2
lines-between-types = 1
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
]
force-sort-within-sections = false
[tool.ruff.lint.mccabe]
max-complexity = 20
[tool.ruff.format]
quote-style = "preserve"
docstring-code-format = true
skip-magic-trailing-comma = true