-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (116 loc) · 2.94 KB
/
pyproject.toml
File metadata and controls
127 lines (116 loc) · 2.94 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[build-system]
requires = ["hatchling>=1.26"]
build-backend = "hatchling.build"
[tool.hatch.build]
ignore-vcs = false
skip-excluded-dirs = true
exclude = [
"__pycache__/",
"*.py[cod]",
".pytest_cache/",
".mypy_cache/",
".ruff_cache/",
"build/",
"dist/",
"*.egg-info/",
"docs/_build/",
".venv/",
"venv/",
".env",
".env.*",
"secrets/",
"integration_tests/",
]
[project]
name = "glpi-python-client"
version = "0.1.3"
description = "A typed Python client for GLPI ITSM APIs."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "glpi-python-client contributors" }]
keywords = ["glpi", "itsm", "api", "client"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"beautifulsoup4>=4.12",
"lxml>=4.9",
"markdown>=3.6",
"markdownify>=0.13",
"pydantic>=2.8",
"requests>=2.31",
"tenacity>=8.2",
"urllib3>=2.0",
]
[project.optional-dependencies]
docs = [
"numpydoc>=1.8",
"sphinx>=7.2,<8.2",
"sphinx-rtd-theme>=2.0",
"tomli>=2.0; python_version < '3.11'",
]
dev = [
"build>=1.2",
"mypy>=1.11",
"numpydoc>=1.8",
"pytest>=8.0",
"ruff>=0.6",
"sphinx>=7.2,<8.2",
"sphinx-rtd-theme>=2.0",
"tomli>=2.0; python_version < '3.11'",
"twine>=5.1",
"types-requests>=2.32",
"vulture>=2.11",
]
[project.urls]
Homepage = "https://github.com/baraline/glpi_python_client"
Documentation = "https://glpi-python-client.readthedocs.io/en/latest/"
Issues = "https://github.com/baraline/glpi_python_client/issues"
Source = "https://github.com/baraline/glpi_python_client"
[tool.hatch.build.targets.wheel]
packages = ["glpi_python_client"]
[tool.hatch.build.targets.sdist]
include = [
"/docs",
"/glpi_python_client",
"/skills",
"/.readthedocs.yaml",
"/CHANGELOG.md",
"/CONTRIBUTING.md",
"/LICENSE",
"/README.md",
"/pyproject.toml",
]
[tool.pytest.ini_options]
testpaths = ["glpi_python_client", "integration_tests"]
addopts = "--strict-markers --strict-config"
markers = [
"integration: tests that call a live GLPI instance using local secrets",
]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["B", "E", "F", "I", "RUF", "UP"]
[tool.mypy]
python_version = "3.10"
packages = ["glpi_python_client"]
strict = true
warn_unreachable = true
warn_unused_ignores = true
ignore_missing_imports = true
[tool.vulture]
min_confidence = 80
paths = ["glpi_python_client"]