-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (71 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
86 lines (71 loc) · 1.93 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
[build-system]
requires = ["setuptools>=77", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "github_activity"
description = "Grab recent issue/PR activity from a GitHub repository and render it as markdown."
# update verison with `tbump NEW_VERSION`
version = "1.1.5"
dynamic = ["readme", "dependencies"]
requires-python = ">=3.9"
keywords = ["Development", "Changelog"]
authors = [
{ name = "Executable Books Project", email = "executablebooks@gmail.com" },
]
license = "BSD-3-Clause"
license-files = []
[project.urls]
Homepage = "https://executablebooks.org"
Source = "https://github.com/executablebooks/github-activity"
[project.optional-dependencies]
testing = [
"pytest",
"pytest-regressions",
]
sphinx = [
"sphinx",
"myst_parser",
"sphinx_book_theme",
]
[project.scripts]
github-activity = "github_activity.cli:main"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
where = [""]
include = ["github_activity"]
[tool.setuptools.dynamic]
readme = { file = "README.md", content-type = "text/markdown" }
dependencies = { file = "requirements.txt" }
# setuptools_scm needs a section to be present
[tool.setuptools_scm]
# we don't actually use setuptools_scm for versions,
# only the file-finder
fallback_version = "0.0.0"
[tool.tbump]
# Uncomment this if your project is hosted on GitHub:
github_url = "https://github.com/executablebooks/github-activity"
[tool.tbump.version]
current = "1.1.5"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(?P<pre>((a|b|rc)\d+)|)
\.?
(?P<dev>(?<=\.)dev\d*|)
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "pyproject.toml"
search = 'version = "{current_version}"'
[[tool.tbump.file]]
src = "github_activity/__init__.py"
search = '__version__ = "{current_version}"'
[tool.ruff.lint.per-file-ignores]
"docs/conf.py" = ["E402"]