-
-
Notifications
You must be signed in to change notification settings - Fork 492
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (85 loc) · 2.55 KB
/
pyproject.toml
File metadata and controls
93 lines (85 loc) · 2.55 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
83
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "jenkinsapi"
version = "0.3.20"
authors = [
{name = "Salim Fadhley", email = "salimfadhley@gmail.com"},
{name = "Aleksey Maksimov", email = "ctpeko3a@gmail.com"},
{name = "Clinton Steiner", email = "clintonsteiner@gmail.com"},
]
maintainers = [
{name = "Aleksey Maksimov", email = "ctpeko3a@gmail.com"},
{name = "Clinton Steiner", email = "clintonsteiner@gmail.com"},
]
description = "A Python API for accessing resources on a Jenkins continuous-integration server."
readme = "README.rst"
license = {text = "MIT license"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"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.14",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
]
requires-python = ">=3.10"
dependencies = [
"pytz>=2014.4",
"requests>=2.33.0",
]
[tool.hatch.build.targets.wheel]
packages = ["jenkinsapi", "jenkinsapi_tests"]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docker",
"/doc",
"/.pre-commit-config.yaml",
]
[project.scripts]
jenkins_invoke = "jenkinsapi.command_line.jenkins_invoke:main"
jenkinsapi_version = "jenkinsapi.command_line.jenkinsapi_version:main"
[dependency-groups]
dev = [
"pytest-mock>=3.14.0",
"pytest>=8.3.4",
"pytest-cov>=4.0.0",
"pytest-timeout>=2.3.0",
"pytest-xdist>=3.5.0",
"mock>=5.1.0",
"requests-kerberos>=0.15.0",
"ruff>=0.9.6",
"docker>=6.0.0",
]
docs = [
"docutils>=0.20.1",
"furo>=2024.8.6",
"myst-parser>=3.0.1",
"pygments>=2.20.0",
"sphinx>=7.1.2",
]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = ["E9", "F63", "F7", "F82"] # Equivalent to flake8’s default rules
ignore = ["F821"] #, "W503", "W504"
[tool.pytest.ini_options]
timeout = 120
timeout_method = "thread"
markers = [
"docker: marks tests as requiring Docker (deselect with -m \"not docker\")",
"generate_new_api_token: marks tests for Jenkins API token generation",
]