-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
153 lines (132 loc) · 3.27 KB
/
pyproject.toml
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[build-system]
requires = [
"wheel",
"setuptools>=50.3.2",
"setuptools_scm[toml]>=3.4",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/saltext/github/version.py"
write_to_template = "__version__ = \"{version}\""
[project]
name = "saltext.github"
description = "Salt Extension for interacting with GitHub"
authors = [
{name = "EITR Technologies, LLC", email = "devops@eitr.tech"},
]
keywords = [
"salt-extension",
]
license = {text = "Apache Software License"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
]
requires-python = ">= 3.9"
dynamic = ["version"]
dependencies = [
"salt>=3006",
"PyGithub",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/salt-extensions/saltext-github"
Documentation = "https://salt-extensions.github.io/saltext-github/"
Source = "https://github.com/salt-extensions/saltext-github"
Tracker = "https://github.com/salt-extensions/saltext-github/issues"
[project.optional-dependencies]
changelog = ["towncrier==22.12.0"]
dev = [
"nox[uv]>=2024.3",
"pre-commit>=2.21.0",
]
docs = [
"sphinx",
"sphinx-prompt",
"sphinxcontrib-spelling",
"sphinx-copybutton",
"towncrier==22.12.0",
"sphinxcontrib-towncrier",
"myst_parser",
"furo",
"sphinx-inline-tabs",
]
docsauto = ["sphinx-autobuild"]
lint = [
"pylint==3.2.6",
]
tests = [
"pytest>=7.2.0",
"pytest-salt-factories>=1.0.0",
]
[project.entry-points."salt.loader"]
"saltext.github" = "saltext.github"
[tool.setuptools]
zip-safe = false
include-package-data = true
platforms = ["any"]
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests"]
[tool.distutils.bdist_wheel]
# Use this option if your package is pure-python
universal = 1
[tool.distutils.sdist]
owner = "root"
group = "root"
[tool.build_sphinx]
source_dir = "docs"
build_dir = "build/sphinx"
[tool.black]
line-length = 100
[tool.isort]
force_single_line = true
skip = ["src/saltext/github/__init__.py"]
profile = "black"
line_length = 100
[tool.towncrier]
package = "saltext.github"
filename = "CHANGELOG.md"
template = "changelog/.template.jinja"
directory = "changelog/"
start_string = "# Changelog\n"
underlines = ["", "", ""]
title_format = "## {version} ({project_date})"
issue_format = "[#{issue}](https://github.com/salt-extensions/saltext-github/issues/{issue})"
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking changes"
showcontent = true
[[tool.towncrier.type]]
directory = "removed"
name = "Removed"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecated"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "security"
name = "Security"
showcontent = true