-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (65 loc) · 1.83 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (65 loc) · 1.83 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
[project]
name = "salt-tower"
version = "1.13.0"
description = "A Flexible External Salt Pillar Module"
authors = [{ name = "Jan Graichen", email = "jgraichen@altimos.de" }]
dependencies = ["salt"]
requires-python = ">=3.10,<4.0"
readme = "README.md"
license = { text = "MIT" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: System :: Systems Administration",
]
[project.urls]
homepage = "https://github.com/jgraichen/salt-tower"
[project.entry-points."salt.loader"]
pillar_dirs = "salt_tower.loader:pillar_dirs"
render_dirs = "salt_tower.loader:renderers_dirs"
[project.optional-dependencies]
test = ["pylint==4.0.6", "pytest==9.0.3"]
docs = [
"mike==2.2.0",
"mkdocs-awesome-pages-plugin==2.10.1",
"mkdocs-git-revision-date-plugin==0.3.2",
'mkdocs-material==9.7.6',
"setuptools", # required by mike
]
[dependency-groups]
dev = [
"mypy==2.1.0",
"pylint==4.0.6",
"pyright~=1.1.356",
"pytest==9.0.3",
"ruff==0.15.20",
"tox==4.56.1",
"tox-uv~=1.35.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pyright]
include = ["salt_tower", "test"]
exclude = [
"test/fixtures",
"**/node_modules",
"**/__pycache__",
"**/.*",
".venv",
]
[tool.pytest.ini_options]
testpaths = ["test"]
[tool.ruff]
builtins = ["__grains__", "__opts__", "__pillar__", "__salt__"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
extend-select = ["I"]
[tool.uv]
# Salt's legacy setup.py requires old setuptools. Since uv 0.6.0, it
# does not fall back to reading requirements from egg-info.
build-constraint-dependencies = ["setuptools<75.6"]